]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
Applied patch for wxComboBox and wxListBox to
[wxWidgets.git] / include / wx / app.h
index e052dedb4c07d48d616c07ebe0116053a90548b3..1e555d402dd01f5518ec0bfc7573df04b04de2ea 100644 (file)
@@ -65,6 +65,9 @@ public:
 
     // the virtual functions which may/must be overridden in the derived class
     // -----------------------------------------------------------------------
 
     // 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
 
         // called during the program initialization, returning FALSE from here
         // prevents the program from continuing - it's a good place to create
@@ -315,11 +318,6 @@ protected:
     // does any of our windows has focus?
     bool m_isActive;
 #endif // wxUSE_GUI
     // 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
 };
 
 // ----------------------------------------------------------------------------
 };
 
 // ----------------------------------------------------------------------------