Anyways I pretty much setup my code like this:
bool MyProgram::InitApp(char* title, ...){#ifdef WINDOWS hWnd = CreateWindow(...);#else//If windows isn't defined use WX Functions instead.#endif return true;}
Is it possible to use wxWidgets with out having to inheritance between the wxWidgets to my own class? I don't want to use more lines of codes if I can simply use the "#ifdef" to separate my Win32 and wxWidgets calls.
OR is it better to create a new project from scratch just in Xcode and simply use inheritance between my class and WX?
Thanks for reading or posting!