reverting to idle handling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-06-06 21:12:14 +00:00
parent 7e3d8eabcf
commit 592a3c6eb9

View File

@@ -179,25 +179,30 @@ void wxCFEventLoop::CommonModeObserverCallBack(CFRunLoopObserverRef WXUNUSED(obs
if ( activity & kCFRunLoopBeforeWaiting )
{
if ( ProcessIdle() )
{
WakeUp();
}
else
{
#if wxUSE_THREADS
wxMutexGuiLeaveOrEnter();
#endif
}
}
}
void wxCFEventLoop::DefaultModeObserverCallBack(CFRunLoopObserverRef WXUNUSED(observer), int activity)
{
/*
if ( activity & kCFRunLoopBeforeTimers )
{
}
if ( activity & kCFRunLoopBeforeWaiting )
{
if ( ProcessIdle() )
{
WakeUp();
}
}
*/
}