X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c874b4822add9f739cefacd3ede650311bda005..5f57b149e60ac95a47d45409ae3a9c9acaee04be:/wxPython/src/msw/_misc.py diff --git a/wxPython/src/msw/_misc.py b/wxPython/src/msw/_misc.py index 558d6d6c04..7b54b0a4d8 100644 --- a/wxPython/src/msw/_misc.py +++ b/wxPython/src/msw/_misc.py @@ -155,7 +155,7 @@ class SystemSettings(object): GetFont = staticmethod(GetFont) def GetMetric(*args, **kwargs): - """GetMetric(int index) -> int""" + """GetMetric(int index, Window win=None) -> int""" return _misc_.SystemSettings_GetMetric(*args, **kwargs) GetMetric = staticmethod(GetMetric) @@ -191,7 +191,7 @@ def SystemSettings_GetFont(*args, **kwargs): return _misc_.SystemSettings_GetFont(*args, **kwargs) def SystemSettings_GetMetric(*args, **kwargs): - """SystemSettings_GetMetric(int index) -> int""" + """SystemSettings_GetMetric(int index, Window win=None) -> int""" return _misc_.SystemSettings_GetMetric(*args, **kwargs) def SystemSettings_HasFeature(*args, **kwargs): @@ -241,6 +241,11 @@ class SystemOptions(_core.Object): return _misc_.SystemOptions_HasOption(*args, **kwargs) HasOption = staticmethod(HasOption) + def IsFalse(*args, **kwargs): + """IsFalse(String name) -> bool""" + return _misc_.SystemOptions_IsFalse(*args, **kwargs) + + IsFalse = staticmethod(IsFalse) class SystemOptionsPtr(SystemOptions): def __init__(self, this): @@ -271,6 +276,10 @@ def SystemOptions_HasOption(*args, **kwargs): """SystemOptions_HasOption(String name) -> bool""" return _misc_.SystemOptions_HasOption(*args, **kwargs) +def SystemOptions_IsFalse(*args, **kwargs): + """SystemOptions_IsFalse(String name) -> bool""" + return _misc_.SystemOptions_IsFalse(*args, **kwargs) + #--------------------------------------------------------------------------- @@ -2548,16 +2557,16 @@ class ArtProvider(object): return _misc_.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) - def GetSize(*args, **kwargs): + def GetSizeHint(*args, **kwargs): """ - GetSize(String client, bool platform_dependent=False) -> Size + GetSizeHint(String client, bool platform_dependent=False) -> Size - Get the size of an icon from a specific Art Client, queries the + Get the size hint of an icon from a specific Art Client, queries the topmost provider if platform_dependent = false """ - return _misc_.ArtProvider_GetSize(*args, **kwargs) + return _misc_.ArtProvider_GetSizeHint(*args, **kwargs) - GetSize = staticmethod(GetSize) + GetSizeHint = staticmethod(GetSizeHint) def Destroy(*args, **kwargs): """Destroy(self)""" return _misc_.ArtProvider_Destroy(*args, **kwargs) @@ -2668,14 +2677,14 @@ def ArtProvider_GetIcon(*args, **kwargs): """ return _misc_.ArtProvider_GetIcon(*args, **kwargs) -def ArtProvider_GetSize(*args, **kwargs): +def ArtProvider_GetSizeHint(*args, **kwargs): """ - ArtProvider_GetSize(String client, bool platform_dependent=False) -> Size + ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size - Get the size of an icon from a specific Art Client, queries the + Get the size hint of an icon from a specific Art Client, queries the topmost provider if platform_dependent = false """ - return _misc_.ArtProvider_GetSize(*args, **kwargs) + return _misc_.ArtProvider_GetSizeHint(*args, **kwargs) #--------------------------------------------------------------------------- @@ -5290,6 +5299,14 @@ class DropTarget(object): """GetData(self) -> bool""" return _misc_.DropTarget_GetData(*args, **kwargs) + def SetDefaultAction(*args, **kwargs): + """SetDefaultAction(self, int action)""" + return _misc_.DropTarget_SetDefaultAction(*args, **kwargs) + + def GetDefaultAction(*args, **kwargs): + """GetDefaultAction(self) -> int""" + return _misc_.DropTarget_GetDefaultAction(*args, **kwargs) + class DropTargetPtr(DropTarget): def __init__(self, this):