]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing iPhone build
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Jun 2013 20:30:54 +0000 (20:30 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Jun 2013 20:30:54 +0000 (20:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/evtloop_cf.cpp

index 9eefc0d22bf1da8d19c9f59401f93924ed930b0b..7fb81172b28671dea2de7860b81027518def2562 100644 (file)
@@ -302,6 +302,7 @@ bool wxCFEventLoop::Pending() const
 
 int wxCFEventLoop::DoProcessEvents()
 {
+#if wxUSE_UIACTIONSIMULATOR
     if ( m_shouldWaitForEvent )
     {
         int  handled = DispatchTimeout( 1000 );
@@ -310,6 +311,7 @@ int wxCFEventLoop::DoProcessEvents()
         return handled;
     }
     else
+#endif
         return DispatchTimeout( 0 );
 }