]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
more 64 bit correctness fixes
[wxWidgets.git] / src / os2 / utils.cpp
index e6dbfa8a91e47c6ad9f876a65b6c2f2a0345bf8f..80f9a04b3ca7b06ba8d9490608fdf19e3272fa85 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     09/17/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // For compilers that support precompilation, includes "wx.h".
@@ -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
 )