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:
@@ -179,25 +179,30 @@ void wxCFEventLoop::CommonModeObserverCallBack(CFRunLoopObserverRef WXUNUSED(obs
|
||||
|
||||
if ( activity & kCFRunLoopBeforeWaiting )
|
||||
{
|
||||
if ( ProcessIdle() )
|
||||
{
|
||||
WakeUp();
|
||||
}
|
||||
else
|
||||
{
|
||||
#if wxUSE_THREADS
|
||||
wxMutexGuiLeaveOrEnter();
|
||||
wxMutexGuiLeaveOrEnter();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void wxCFEventLoop::DefaultModeObserverCallBack(CFRunLoopObserverRef WXUNUSED(observer), int activity)
|
||||
{
|
||||
/*
|
||||
if ( activity & kCFRunLoopBeforeTimers )
|
||||
{
|
||||
}
|
||||
|
||||
if ( activity & kCFRunLoopBeforeWaiting )
|
||||
{
|
||||
if ( ProcessIdle() )
|
||||
{
|
||||
WakeUp();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user