X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e25ba908f6a9e03f131e8ce9df19558c3e09a35..d7c24517cb80580118ebd4ef1deb526be627c29c:/include/wx/stubs/app.h diff --git a/include/wx/stubs/app.h b/include/wx/stubs/app.h index cb50ba9c9e..67bceb9169 100644 --- a/include/wx/stubs/app.h +++ b/include/wx/stubs/app.h @@ -18,6 +18,8 @@ #include "wx/defs.h" #include "wx/object.h" +#include "wx/gdicmn.h" +#include "wx/event.h" class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxWindow; @@ -30,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(); @@ -57,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; }; @@ -130,8 +128,9 @@ protected: public: // Implementation - static void CommonInit(); - static void CommonCleanUp(); + static bool Initialize(); + static void CleanUp(); + void DeletePendingObjects(); bool ProcessIdle();