X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df7f0a04ba6c573a8e13738d63d31e5395640ae3..107d0fd493dc4d750ba18518a2eea5b93d988965:/src/motif/evtloop.cpp diff --git a/src/motif/evtloop.cpp b/src/motif/evtloop.cpp index 782ceeab07..252ef362a7 100644 --- a/src/motif/evtloop.cpp +++ b/src/motif/evtloop.cpp @@ -99,18 +99,13 @@ bool wxEventLoopImpl::SendIdleMessage() // wxEventLoop running and exiting // ---------------------------------------------------------------------------- -wxEventLoop *wxEventLoop::ms_activeLoop = NULL; +wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL; wxEventLoop::~wxEventLoop() { wxASSERT_MSG( !m_impl, _T("should have been deleted in Run()") ); } -bool wxEventLoop::IsRunning() const -{ - return m_impl != NULL; -} - int wxEventLoop::Run() { // event loops are not recursive, you need to create another loop! @@ -360,7 +355,7 @@ bool wxDoEventLoopIteration( wxEventLoop& evtLoop ) // leave the main loop to give other threads a chance to // perform their GUI work wxMutexGuiLeave(); - wxUsleep(20); + wxMilliSleep(20); wxMutexGuiEnter(); } #endif