#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; };
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; }
public:
// Implementation
- static void CommonInit();
- static void CommonCleanUp();
+ static bool Initialize();
+ static void CleanUp();
+
void DeletePendingObjects();
bool ProcessIdle();