X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..b64f0a5fc7bbe365bcd1b38c346a4033761f49ed:/include/wx/stubs/app.h diff --git a/include/wx/stubs/app.h b/include/wx/stubs/app.h index 3b1467fec5..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(); @@ -59,7 +55,7 @@ class WXDLLEXPORT wxApp: public wxEvtHandler virtual bool Pending() ; virtual void Dispatch() ; - virtual void OnIdle(wxIdleEvent& event); + void OnIdle(wxIdleEvent& event); // Generic virtual bool OnInit() { return FALSE; }; @@ -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();