]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/misc.py
Updated SWIG patches and wxPython's SWIG runtime
[wxWidgets.git] / wxPython / src / gtk / misc.py
index 18c0553f9db72c5d505f3f3916a3ff48c1a7f7e7..1ee13ae784ec55b0b3328ca1d571995cc8a5d95b 100644 (file)
@@ -164,11 +164,6 @@ def SystemSettings_SetScreenType(*args, **kwargs):
     """SystemSettings_SetScreenType(int screen)"""
     return _misc.SystemSettings_SetScreenType(*args, **kwargs)
 
-# backwards compatibility aliasses
-SystemSettings_GetSystemColour = SystemSettings_GetColour
-SystemSettings_GetSystemFont   = SystemSettings_GetFont
-SystemSettings_GetSystemMetric = SystemSettings_GetMetric
-
 class SystemOptions(core.Object):
     def __repr__(self):
         return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -488,6 +483,10 @@ def GetTopLevelParent(*args, **kwargs):
     """GetTopLevelParent(Window win) -> Window"""
     return _misc.GetTopLevelParent(*args, **kwargs)
 
+def GetKeyState(*args, **kwargs):
+    """GetKeyState(int key) -> bool"""
+    return _misc.GetKeyState(*args, **kwargs)
+
 def WakeUpMainThread(*args, **kwargs):
     """WakeUpMainThread()"""
     return _misc.WakeUpMainThread(*args, **kwargs)
@@ -4359,7 +4358,7 @@ class DropSource(object):
         return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
     def __init__(self, *args, **kwargs):
         """
-        __init__(Window win=None, Icon copy=wxNullIcon, Icon move=wxNullIcon, 
+        __init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, 
             Icon none=wxNullIcon) -> DropSource
         """
         newobj = _misc.new_DropSource(*args, **kwargs)