X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5f1fd3e33d25740ad47e4755868c74a58c0f9eb..9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index e052dedb4c..1e555d402d 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -65,6 +65,9 @@ public: // 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 @@ -315,11 +318,6 @@ protected: // 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 }; // ----------------------------------------------------------------------------