]> git.saurik.com Git - wxWidgets.git/commitdiff
utils_osx isn't part of base but of core, moving wxMacWakeUp to a file that really...
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 20 May 2010 06:09:10 +0000 (06:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 20 May 2010 06:09:10 +0000 (06:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/evtloop_cf.cpp
src/osx/utils_osx.cpp

index ad9a5da15e86892c411f15955a2a1e1560353379..d526f8e9cab9c32aa4dad29dca0d9a7884ce266b 100644 (file)
@@ -217,6 +217,18 @@ void wxCFEventLoop::WakeUp()
     CFRunLoopWakeUp(m_runLoop);
 }
 
+#if wxUSE_BASE
+
+void wxMacWakeUp()
+{
+    wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
+    
+    if ( loop )
+        loop->WakeUp();
+}
+
+#endif
+
 bool wxCFEventLoop::YieldFor(long eventsToProcess)
 {
 #if wxUSE_THREADS
index 4764ec07a06ab6fc2497d155ba5ef70ed591690f..c7adb418110dc1f4527250b5afe869fa10bf4b57 100644 (file)
@@ -64,18 +64,6 @@ bool wxColourDisplay()
     return true;
 }
 
-#if wxUSE_BASE
-
-void wxMacWakeUp()
-{
-    wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
-
-    if ( loop )
-        loop->WakeUp();
-}
-
-#endif
-
 #if wxOSX_USE_COCOA_OR_CARBON
 // Returns depth of screen
 int wxDisplayDepth()