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