X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bed67b7f86529116a17047e8e6c30c0f5ccef6a4..7b25d8e7bd0eca9f0f6efe62b3721d14c394dac9:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 22e8837796..80f9a04b3c 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -45,7 +45,7 @@ #include #endif -static const wxChar WX_SECTION[] = _T("wxWindows"); +static const wxChar WX_SECTION[] = _T("wxWidgets"); static const wxChar eHOSTNAME[] = _T("HostName"); static const wxChar eUSERID[] = _T("UserId"); static const wxChar eUSERNAME[] = _T("UserName"); @@ -260,13 +260,20 @@ bool wxSetEnv(const wxString& variable, const wxChar *value) #endif } -void wxUsleep( +void wxMilliSleep( unsigned long ulMilliseconds ) { ::DosSleep(ulMilliseconds); } +void wxMicroSleep( + unsigned long ulMicroseconds +) +{ + ::DosSleep(ulMicroseconds/1000); +} + void wxSleep( int nSecs )