#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 bool Initialize();
static void CleanUp();
- static void CommonCleanUp();
+
void DeletePendingObjects();
bool ProcessIdle();
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_