Adding wxWidgets to existing app
GyroTech
gyrotech at freakinabox.com
Sat Jan 5 10:38:04 PST 2008
Hello all. I have an app based on SDL and OpenGL and the gui interface I
have been using so far has reached the limit of usefulness and now I
need the more powerful wxWidgets.
Is it possible to simply add the wxWidgets references to my existing app
and open a dialog or frame along side my SDL window (I'm thinking of a
multiple-window interface somewhat like the GIMP). Or do I need to
refactor my entire app to be based off wxApp.
I have already attempted ideas of an SDL-subclass of wxPanel but I
cannot seem to get that to work with OpenGL. My other idea is a wxThread
to contain the SDL window (which should still allow SDL to control
events??) but I'm not sure how the wxWidgets frame\dialog would pass
instructions back to this thread.
Any ideas at all will be well appreciated.
Thanks
Gyro Tech
More information about the wx-users
mailing list