]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/evtloop_cf.cpp
Use the data scheme to load resources in the WebKitGTK+ implementation, rather than...
[wxWidgets.git] / src / osx / core / evtloop_cf.cpp
index f83729f1c963bb0cae00dd1633c50b19c809bbfd..afe67a048c4a787f8495cde12cf2f3272b7a9638 100644 (file)
@@ -179,25 +179,32 @@ 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)
+void
+wxCFEventLoop::DefaultModeObserverCallBack(CFRunLoopObserverRef WXUNUSED(observer),
+                                           int WXUNUSED(activity))
 {
+    /*
     if ( activity & kCFRunLoopBeforeTimers )
     {
     }
     
     if ( activity & kCFRunLoopBeforeWaiting )
     {
-        if ( ProcessIdle() )
-        {
-            WakeUp();
-        }
     }
+    */
 }