X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32478f52adb66a06350bb4c52b882f1e12246eb0..f7a50432401c62a3300b0b9faa7e99d7ffe3d4e8:/wxPython/misc/drawwidget.py?ds=sidebyside diff --git a/wxPython/misc/drawwidget.py b/wxPython/misc/drawwidget.py index f8185ed1c4..79bb1a0358 100644 --- a/wxPython/misc/drawwidget.py +++ b/wxPython/misc/drawwidget.py @@ -299,7 +299,7 @@ class Frame(wx.Frame): w = b.GenButton(p, -1, "Generic Button") w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False)) w.SetBezelWidth(5) - w.SetBestSize() + w.SetInitialSize() w.SetBackgroundColour("Navy") w.SetForegroundColour(wx.WHITE) self.DoWidget(w)