Boris Zbarsky wrote:
steve lu wrote:

but the problem remains the same.
If I want to re-use the nsWindow implementation by doing

nsMyWidget: nsWindow

and register my class thru component register as a new Widget.
And insert my widget by doing rootwidget->AddChild(myWidget);


You'd need to compile all of widget into your library, then.... Still not sure it would work, of course.

Also, please do NOT cc my email on posts to this newsgroup.

-Boris

Sorry.... hit reply and it went directly to you instead of the newsgroup. :)

Guess I will have to use the approach similar to canvas then.
Seems to be a way that has been proven to work.

Steve
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to