X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f514ab45900ae08326c70cf7d360377bbf14ea4..ad3a156e18c0d5adae80b79cf382bca28546b4d9:/wxPython/src/mac/_controls.py?ds=sidebyside diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index a81e6b84f4..1470fd5dd2 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -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) @@ -6942,7 +6939,7 @@ class FontPickerCtrl(PickerBase): __repr__ = _swig_repr def __init__(self, *args, **kwargs): """ - __init__(self, Window parent, int id=-1, Font initial=*wxNORMAL_FONT, + __init__(self, Window parent, int id=-1, Font initial=wxNullFont, Point pos=DefaultPosition, Size size=DefaultSize, long style=FNTP_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=FontPickerCtrlNameStr) -> FontPickerCtrl @@ -6952,7 +6949,7 @@ class FontPickerCtrl(PickerBase): def Create(*args, **kwargs): """ - Create(self, Window parent, int id=-1, Font initial=*wxNORMAL_FONT, + Create(self, Window parent, int id=-1, Font initial=wxNullFont, Point pos=DefaultPosition, Size size=DefaultSize, long style=FNTP_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=FontPickerCtrlNameStr) -> bool