inline void CocoaRequestIdle() { m_isIdle = true; }
protected:
WX_NSApplication m_cocoaApp;
+ WX_NSThread m_cocoaMainThread;
void CocoaInstallIdleHandler();
bool m_isIdle;
virtual void Exit();
virtual bool Yield(bool onlyIfNeeded = FALSE);
- virtual bool ProcessIdle();
virtual void WakeUpIdle() { CocoaRequestIdle(); }
- /* Idle Processing */
- void OnIdle(wxIdleEvent& 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(wxWindowCocoa* win);
-
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();
virtual bool CallOnInit();