X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3754265e328a7cc7f67a46a9beea105cf1d49a14..ede3a6d68af66772b4f5f94208b4126bab566cc8:/src/motif/evtloop.cpp diff --git a/src/motif/evtloop.cpp b/src/motif/evtloop.cpp index 431f2a11b3..bcb13876da 100644 --- a/src/motif/evtloop.cpp +++ b/src/motif/evtloop.cpp @@ -355,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 @@ -409,7 +409,7 @@ public: close( idleFds[1] ); } private: - DECLARE_DYNAMIC_CLASS(wxIdlePipeModule); + DECLARE_DYNAMIC_CLASS(wxIdlePipeModule) }; IMPLEMENT_DYNAMIC_CLASS(wxIdlePipeModule, wxModule);