X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/634903fd0431c5f09372a9ad99005cb4b2c5cd34..2cc0e28f6add744e192d196951dc8be7c9cc51f5:/src/msw/utils.cpp?ds=inline diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 0f5ebc51ab..1433988261 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -299,6 +299,11 @@ class wxSleepTimer: public wxTimer static wxTimer *wxTheSleepTimer = NULL; +void wxUsleep(unsigned long milliseconds) +{ + ::Sleep(milliseconds); +} + void wxSleep(int nSecs) { #if 0 // WIN32 hangs app @@ -537,7 +542,6 @@ void wxEndBusyCursor() wxCHECK_RET( gs_wxBusyCursorCount > 0, "no matching wxBeginBusyCursor() for wxEndBusyCursor()" ); - gs_wxBusyCursorCount--; if ( --gs_wxBusyCursorCount == 0 ) { ::SetCursor(gs_wxBusyCursorOld);