// the virtual functions which may/must be overridden in the derived class
// -----------------------------------------------------------------------
+#ifdef __DARWIN__
+ virtual ~wxAppBase() { }
+#endif
// called during the program initialization, returning FALSE from here
// prevents the program from continuing - it's a good place to create
// does any of our windows has focus?
bool m_isActive;
#endif // wxUSE_GUI
-
-#ifdef __WXMAC_X__
-public:
- virtual ~wxAppBase() {} // Added min for Mac X
-#endif
};
// ----------------------------------------------------------------------------
#include "wx/motif/app.h"
#elif defined(__WXMGL__)
#include "wx/mgl/app.h"
- #elif defined(__WXQT__)
- #include "wx/qt/app.h"
#elif defined(__WXGTK__)
#include "wx/gtk/app.h"
#elif defined(__WXMAC__)
// be in your main program (e.g. hello.cpp). Now IMPLEMENT_APP should add this
// code if required.
-#if !wxUSE_GUI || defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)
+#if !wxUSE_GUI || defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMGL__)
#define IMPLEMENT_WXWIN_MAIN \
extern int wxEntry( int argc, char *argv[] ); \
int main(int argc, char *argv[]) { return wxEntry(argc, argv); }