Hi, I'm trying to use two third-party libraries is an application.
Both are open source and therefore hackable:
wxWindows^H^H^H^H^H^H^HWidgets and CrystalSpace.
wxWindows uses Carbon. CrystalSpace uses Cocoa, and specifically uses
AppKit/NSApplication to run the app and get events. Supposedly,
Cocoa and Carbon windows should be able to co-exist in a program
without any extra help, post 10.2. Any windows I open with wxWindows
(Carbon) work great, but the window that CrystalSpace (Cocoa/AppKit)
opens never recieves focus or key or mouse events. On the other hand,
CrystalSpace normally calls [NSApp run] to run the event loop, but I
have omitted the function call that does that in my application, since
it never returns.
Do I need to prevent wxWindows from entering *it's* event loop and
instead call [NSApp run], or do I need to manually grab Carbon events
from the CrystalSpace window and convert them to Cocoa NSEvents?
Thanks for any help or pointers... Need any more info let me know;
I've also posted some messages to the wx-users mailing list at
http://www.wxwindows.org.
reed