]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_controls.py
fix tree control best size calculation: account for the images and the buttons
[wxWidgets.git] / wxPython / src / mac / _controls.py
index a81e6b84f4d992175148f1c230b9615c7e863e31..c84271335a361daeb1cef20d0d0614e937a994b0 100644 (file)
@@ -5739,10 +5739,7 @@ class PyControl(_core.Control):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
 
-    def SetBestSize(*args, **kwargs):
-        """SetBestSize(self, Size size)"""
-        return _controls_.PyControl_SetBestSize(*args, **kwargs)
-
+    SetBestSize = wx.Window.SetInitialSize 
     def DoEraseBackground(*args, **kwargs):
         """DoEraseBackground(self, DC dc) -> bool"""
         return _controls_.PyControl_DoEraseBackground(*args, **kwargs)