]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc.py
return name and extension by const ref, not by value, to prevent bugs as the one...
[wxWidgets.git] / wxPython / src / mac / _misc.py
index 6545bb4c8bc85bc47eb06555a89094984cca45f5..558d6d6c045cfb08991e43a1828415a68ce5db6a 100644 (file)
@@ -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