]> git.saurik.com Git - wxWidgets.git/commitdiff
moving wxMacWakeUp outside COCOA_CARBON clause, fixes #12068
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 May 2010 13:38:19 +0000 (13:38 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 May 2010 13:38:19 +0000 (13:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/utils_osx.cpp

index 9b6eeaa80e8e40f29adc03174c0de3d94e98ecd4..4764ec07a06ab6fc2497d155ba5ef70ed591690f 100644 (file)
@@ -64,6 +64,18 @@ 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()
@@ -83,18 +95,6 @@ void wxDisplaySize(int *width, int *height)
         *height = (int)bounds.size.height;
 }
 
-#if wxUSE_BASE
-
-void wxMacWakeUp()
-{
-    wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
-
-    if ( loop )
-        loop->WakeUp();
-}
-
-#endif
-
 #if wxUSE_GUI
 
 // ----------------------------------------------------------------------------