Don't install idle event handler in secondary threads.

I've not seen this happen yet, but it can, and I'm taking this precaution.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-08-06 03:42:25 +00:00
parent c818fe6634
commit 14fc7eb426
2 changed files with 9 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ public:
inline void CocoaRequestIdle() { m_isIdle = true; }
protected:
WX_NSApplication m_cocoaApp;
WX_NSThread m_cocoaMainThread;
void CocoaInstallIdleHandler();
bool m_isIdle;