X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ec4a23f50e12b2e7d780543bc87744d1b4a00b4..51f5e2822cdcb8b433b1d117f186dfd8bb06e240:/include/wx/app.h?ds=inline diff --git a/include/wx/app.h b/include/wx/app.h index 02e57755fa..4fc847b33c 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -503,10 +503,12 @@ public: // deactivated virtual void SetActive(bool isActive, wxWindow *lastFocus); +#if WXWIN_COMPATIBILITY_2_6 // OBSOLETE: don't use, always returns true // // returns true if the program is successfully initialized - bool Initialized() { return true; } + wxDEPRECATED( bool Initialized() ); +#endif // WXWIN_COMPATIBILITY_2_6 // perform standard OnIdle behaviour, ensure that this is always called void OnIdle(wxIdleEvent& event); @@ -549,6 +551,10 @@ protected: DECLARE_NO_COPY_CLASS(wxAppBase) }; +#if WXWIN_COMPATIBILITY_2_6 + inline bool wxAppBase::Initialized() { return true; } +#endif // WXWIN_COMPATIBILITY_2_6 + #endif // wxUSE_GUI // ---------------------------------------------------------------------------- @@ -694,4 +700,3 @@ extern wxAppConsole *wxCreateApp(); extern wxAppInitializer wxTheAppInitializer; #endif // _WX_APP_H_BASE_ -