#include "wx/defs.h"
#include "wx/object.h"
+#include "wx/gdicmn.h"
+#include "wx/event.h"
class WXDLLEXPORT wxFrame;
class WXDLLEXPORT wxWindow;
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();
virtual bool Pending() ;
virtual void Dispatch() ;
- virtual void OnIdle(wxIdleEvent& event);
+ void OnIdle(wxIdleEvent& event);
// Generic
virtual bool OnInit() { return FALSE; };
public:
// Implementation
- static void CommonInit();
- static void CommonCleanUp();
+ static bool Initialize();
+ static void CleanUp();
+
void DeletePendingObjects();
bool ProcessIdle();