merging in Václav's fix for getting CPU usage down in ShowModal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-03 20:31:55 +00:00
parent 7df52b73bd
commit 9f93667c52

View File

@@ -243,7 +243,7 @@ int wxCFEventLoop::DoProcessEvents()
} }
else else
#endif #endif
return DispatchTimeout( 0 ); return DispatchTimeout( m_isInsideYield ? 0 : 1000 );
} }
bool wxCFEventLoop::Dispatch() bool wxCFEventLoop::Dispatch()