// wxEventLoop implementation
// ============================================================================
-wxEventLoop *wxEventLoop::ms_activeLoop = NULL;
+wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
// ----------------------------------------------------------------------------
// wxEventLoop running and exiting
wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") );
}
-bool wxEventLoop::IsRunning() const
-{
- return m_impl != NULL;
-}
-
//////////////////////////////////////////////////////////////////////////////
//
// Keep trying to process messages until WM_QUIT
while ( !Pending() && m_impl->SendIdleMessage() )
{
wxTheApp->HandleSockets();
- wxUsleep(10);
+ wxMilliSleep(10);
}
wxTheApp->HandleSockets();
}
}
else
- wxUsleep(10);
+ wxMilliSleep(10);
}
return m_impl->GetExitCode();