X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07082b28a5871794c835555c165790620384ffd6..689fceb7a725f0000102fa080d1015ab22a58489:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index 4e562c5968..88258c10fe 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -88,6 +88,7 @@ class WXDLLEXPORT wxAppBase : public wxEvtHandler { public: wxAppBase(); + virtual ~wxAppBase(); // the virtual functions which may/must be overridden in the derived class // ----------------------------------------------------------------------- @@ -326,11 +327,6 @@ public: static wxAppInitializerFunction GetInitializerFunction() { return m_appInitFn; } - // needed to avoid link errors -#ifdef __DARWIN__ - virtual ~wxAppBase() { } -#endif - // process all events in the wxPendingEvents list virtual void ProcessPendingEvents(); @@ -379,6 +375,8 @@ protected: #include "wx/mgl/app.h" #elif defined(__WXGTK__) #include "wx/gtk/app.h" + #elif defined(__WXX11__) + #include "wx/x11/app.h" #elif defined(__WXMAC__) #include "wx/mac/app.h" #elif defined(__WXPM__)