X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f555861b7e50f335c7b929bb76be38e9ebd69c5..bb84929ec5b27eae5433982703dd6d0df89bfc2d:/include/wx/stubs/app.h diff --git a/include/wx/stubs/app.h b/include/wx/stubs/app.h index 948e6b4fe6..fba1c3f241 100644 --- a/include/wx/stubs/app.h +++ b/include/wx/stubs/app.h @@ -32,10 +32,6 @@ class WXDLLEXPORT wxLog; WXDLLEXPORT_DATA(extern wxApp*) wxTheApp; -void WXDLLEXPORT wxCleanUp(); -void WXDLLEXPORT wxCommonCleanUp(); // Call this from the platform's wxCleanUp() -void WXDLLEXPORT wxCommonInit(); // Call this from the platform's initialization - // Force an exit from main loop void WXDLLEXPORT wxExit(); @@ -71,6 +67,10 @@ class WXDLLEXPORT wxApp: public wxEvtHandler virtual int OnRun() { return MainLoop(); }; virtual int OnExit() { return 0; } + /** Returns the standard icons for the msg dialogs, implemented in + src/generic/msgdlgg.cpp and src/gtk/app.cpp. */ + virtual wxIcon GetStdIcon(int which) const; + inline void SetPrintMode(int mode) { m_printMode = mode; } inline int GetPrintMode() const { return m_printMode; } @@ -132,8 +132,9 @@ protected: public: // Implementation - static void CommonInit(); - static void CommonCleanUp(); + static bool Initialize(); + static void CleanUp(); + void DeletePendingObjects(); bool ProcessIdle();