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