]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation of wxOSX event loop without wxUSE_EVENTLOOP_SOURCE.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:03:25 +0000 (15:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:03:25 +0000 (15:03 +0000)
Closes #14502.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/evtloop_cf.cpp

index 5e43bb697e72f48b143bf625b152eac2525a8af6..20f01f8fd6a3feae583e19667b6aed652bb53b8a 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "wx/evtloop.h"
 
-#if wxUSE_EVENTLOOP_SOURCE
-
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -48,6 +46,8 @@
 // wxCFEventLoopSource and wxCFEventLoop implementation
 // ============================================================================
 
+#if wxUSE_EVENTLOOP_SOURCE
+
 namespace
 {