]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
Added wxStudio module.
[wxWidgets.git] / src / os2 / utils.cpp
index ec490fca949cb2d3d3972536eb52e7d7e4c6b06e..31b8f70da6848a159c941c22834400b6e1eb02d4 100644 (file)
 #include <errno.h>
 #include <stdarg.h>
 
-#define INCL_DOS
-#define INCL_PM
-#define INCL_GPI
-#include <os2.h>
 #define PURE_32
+
 #ifndef __EMX__
 #include <upm.h>
 #include <netcons.h>
@@ -236,7 +233,7 @@ void wxUsleep(
   unsigned long                     ulMilliseconds
 )
 {
-    ::DosSleep(ulMilliseconds);
+    ::DosSleep(ulMilliseconds/1000l);
 }
 
 void wxSleep(