Hi Jonathan,

Looking over my wxMozilla code again, I noticed one thing which might be causing your problem - are you casting the WindowRef to nsNativeWidget? My embedding code uses "nsNativeWidget(myWindowRef)" to do the conversion.

Let me know if this helps!

Kevin

On Aug 17, 2004, at 3:16 PM, Jonathan Le wrote:

Hi all,

Anybody ever had this problem? The problem occurs when as i try to call InitWindow from an nsIBaseWindow pointer. nsWebBrowser implements this interface.

I'm passing in a carbon window ref (Mac os x) as the first parameter and nsnull as the second.

any ideas why this may be happening?
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to