X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32478f52adb66a06350bb4c52b882f1e12246eb0..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/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)