int wxCFEventLoop::DoProcessEvents() { #if wxUSE_UIACTIONSIMULATOR if ( m_shouldWaitForEvent ) { int handled = DispatchTimeout( 1000 ); wxASSERT_MSG( handled == 1, "No Event Available"); m_shouldWaitForEvent = false; return handled; } else #endif return DispatchTimeout( 0 ); }
bool wxConsoleEventLoop::Dispatch() { DispatchTimeout(static_cast<unsigned long>( wxFDIODispatcher::TIMEOUT_INFINITE)); return true; }
int wxCFEventLoop::DoProcessEvents() { return DispatchTimeout( 0 ); }