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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user