X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index f6e2cde567..1611b06941 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -22,6 +22,7 @@ #include "wx/os2/private.h" #include "wx/timer.h" #include "wx/intl.h" +#include "wx/apptrait.h" #include #ifdef __EMX__ @@ -282,7 +283,7 @@ void wxUsleep( unsigned long ulMilliseconds ) { - ::DosSleep(ulMilliseconds/1000l); + ::DosSleep(ulMilliseconds); } void wxSleep( @@ -360,9 +361,7 @@ void wxBell() DosBeep(1000,1000); // 1kHz during 1 sec. } -// Chris Breeze 27/5/98: revised WIN32 code to -// detect WindowsNT correctly -int wxGetOsVersion( +int wxGUIAppTraits::GetOSVersion( int* pMajorVsn , int* pMinorVsn )