X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68350608bc6a662e2ed00ee50da05bd82680e494..6a168c177c0572f32f98e8a9d8ba9adcd1c2d968:/wxPython/src/mac/_misc.py diff --git a/wxPython/src/mac/_misc.py b/wxPython/src/mac/_misc.py index 6545bb4c8b..558d6d6c04 100644 --- a/wxPython/src/mac/_misc.py +++ b/wxPython/src/mac/_misc.py @@ -2548,6 +2548,16 @@ class ArtProvider(object): return _misc_.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def GetSize(*args, **kwargs): + """ + GetSize(String client, bool platform_dependent=False) -> Size + + Get the size of an icon from a specific Art Client, queries the + topmost provider if platform_dependent = false + """ + return _misc_.ArtProvider_GetSize(*args, **kwargs) + + GetSize = staticmethod(GetSize) def Destroy(*args, **kwargs): """Destroy(self)""" return _misc_.ArtProvider_Destroy(*args, **kwargs) @@ -2658,6 +2668,15 @@ def ArtProvider_GetIcon(*args, **kwargs): """ return _misc_.ArtProvider_GetIcon(*args, **kwargs) +def ArtProvider_GetSize(*args, **kwargs): + """ + ArtProvider_GetSize(String client, bool platform_dependent=False) -> Size + + Get the size of an icon from a specific Art Client, queries the + topmost provider if platform_dependent = false + """ + return _misc_.ArtProvider_GetSize(*args, **kwargs) + #--------------------------------------------------------------------------- CONFIG_USE_LOCAL_FILE = _misc_.CONFIG_USE_LOCAL_FILE