wxThread::Sleep() is the same as wxMilliSleep() on all platforms but Mac (and maybe it should be the same thing there as well)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -336,3 +336,17 @@ wxSemaError wxSemaphore::Post()
|
||||
return m_internal->Post();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxThread
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXMAC__
|
||||
|
||||
#include "wx/utils.h"
|
||||
|
||||
void wxThread::Sleep(unsigned long milliseconds)
|
||||
{
|
||||
wxMilliSleep(milliseconds);
|
||||
}
|
||||
|
||||
#endif // __WXMAC__
|
||||
|
Reference in New Issue
Block a user