]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
implement out-of-line destructors where needed instead of using __DARWIN__
[wxWidgets.git] / include / wx / app.h
index 4e562c5968d153e35f84fc1a6e4262b78fd0ef9c..9c76ed5d7eef66a32e6972b9eefe7b3aa8ce4176 100644 (file)
@@ -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();