virtual bool Initialized();
virtual bool Pending() ;
virtual void Dispatch() ;
+
+ virtual void Exit();
+
virtual bool Yield(bool onlyIfNeeded = FALSE);
- virtual bool ProcessIdle();
+ virtual void WakeUpIdle();
virtual void SetPrintMode(int mode) { m_printMode = mode; }
virtual int GetPrintMode() const { return m_printMode; }
void OnEndSession(wxCloseEvent& event);
void OnQueryEndSession(wxCloseEvent& event);
- // Send idle event to all top-level windows.
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents();
-
- // Send idle event to window and all subwindows
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents(wxWindowMac* win);
-
// Windows only, but for compatibility...
inline void SetAuto3D(bool flag) { m_auto3D = flag; }
inline bool GetAuto3D() const { return m_auto3D; }
public:
// Implementation
- static bool Initialize();
- static void CleanUp();
+ virtual bool Initialize(int& argc, wxChar **argv);
+ virtual void CleanUp();
- void DeletePendingObjects();
bool IsExiting() { return !m_keepGoing ; }
#if TARGET_CARBON
WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; }