From: Stefan Csomor Date: Wed, 19 Jun 2013 20:30:54 +0000 (+0000) Subject: fixing iPhone build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ea0754020265d7ce01cf36d60fc8fffc5686258d fixing iPhone build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/core/evtloop_cf.cpp b/src/osx/core/evtloop_cf.cpp index 9eefc0d22b..7fb81172b2 100644 --- a/src/osx/core/evtloop_cf.cpp +++ b/src/osx/core/evtloop_cf.cpp @@ -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 ); }