slight adaption, shorter max wait

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-06-13 00:19:10 +00:00
parent 234e255639
commit 57fe8307ab

View File

@@ -304,11 +304,13 @@ int wxCFEventLoop::DoProcessEvents()
{
if ( m_shouldWaitForEvent )
{
int handled = DispatchTimeout( 10000 );
int handled = DispatchTimeout( 1000 );
wxASSERT_MSG( handled == 1, "No Event Available");
m_shouldWaitForEvent = false;
return handled;
}
return DispatchTimeout( 0 );
else
return DispatchTimeout( 0 );
}
bool wxCFEventLoop::Dispatch()