]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc.py
compilation fix for !MSW
[wxWidgets.git] / wxPython / src / mac / _misc.py
index 40b0cd7a8cba691f70852e91c0de5f43b0d5e850..7dcb750e2f7c097de376c3ee85a7c4d1019d8610 100644 (file)
@@ -295,9 +295,14 @@ def Sleep(*args, **kwargs):
     """Sleep(int secs)"""
     return _misc_.Sleep(*args, **kwargs)
 
-def Usleep(*args, **kwargs):
-    """Usleep(unsigned long milliseconds)"""
-    return _misc_.Usleep(*args, **kwargs)
+def MilliSleep(*args, **kwargs):
+    """MilliSleep(unsigned long milliseconds)"""
+    return _misc_.MilliSleep(*args, **kwargs)
+
+def MicroSleep(*args, **kwargs):
+    """MicroSleep(unsigned long microseconds)"""
+    return _misc_.MicroSleep(*args, **kwargs)
+Usleep = MilliSleep 
 
 def EnableTopLevelWindows(*args, **kwargs):
     """EnableTopLevelWindows(bool enable)"""