diff --git a/src/osx/core/evtloop_cf.cpp b/src/osx/core/evtloop_cf.cpp index 37b22b5909..7e70dec8b1 100644 --- a/src/osx/core/evtloop_cf.cpp +++ b/src/osx/core/evtloop_cf.cpp @@ -243,7 +243,7 @@ int wxCFEventLoop::DoProcessEvents() } else #endif - return DispatchTimeout( 0 ); + return DispatchTimeout( m_isInsideYield ? 0 : 1000 ); } bool wxCFEventLoop::Dispatch()