X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..42e69d6b435a4dd5415caf3750db62cf45b6f373:/include/wx/stubs/app.h diff --git a/include/wx/stubs/app.h b/include/wx/stubs/app.h index 2eafa1f15f..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,9 +128,9 @@ protected: public: // Implementation - static void CommonInit(); + static bool Initialize(); static void CleanUp(); - static void CommonCleanUp(); + void DeletePendingObjects(); bool ProcessIdle(); @@ -146,8 +144,8 @@ protected: DECLARE_EVENT_TABLE() }; -// TODO: add platform-specific arguments, e.g. int argc, char* argv[] -int WXDLLEXPORT wxEntry(); +// TODO: add platform-specific arguments +int WXDLLEXPORT wxEntry( int argc, char *argv[] ); #endif // _WX_APP_H_