usleep fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-03-02 22:45:53 +00:00
parent c5e591789b
commit 2a61618831
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ void wxUsleep(unsigned long milliseconds)
do
{
YieldToAnyThread() ;
} while( clock() - start < milliseconds / CLOCKS_PER_SEC ) ;
} while( clock() - start < milliseconds / 1000.0 * CLOCKS_PER_SEC ) ;
}
void wxSleep(int nSecs)

View File

@ -162,7 +162,7 @@ void wxUsleep(unsigned long milliseconds)
do
{
YieldToAnyThread() ;
} while( clock() - start < milliseconds / CLOCKS_PER_SEC ) ;
} while( clock() - start < milliseconds / 1000.0 * CLOCKS_PER_SEC ) ;
}
void wxSleep(int nSecs)