X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/969d9b6fa963c0f14298e0ec8aa88b6d6292a6f8..162d656dfc147d70a0584e822570e236052f3e16:/wxPython/demo/GenericButtons.py?ds=sidebyside diff --git a/wxPython/demo/GenericButtons.py b/wxPython/demo/GenericButtons.py index beb8a52451..7bbe9d5704 100644 --- a/wxPython/demo/GenericButtons.py +++ b/wxPython/demo/GenericButtons.py @@ -44,7 +44,7 @@ class TestPanel(wx.Panel): b.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False)) b.SetBezelWidth(5) ###b.SetBestSize() - b.SetSizeHints(wx.DefaultSize) + b.SetMinSize(wx.DefaultSize) b.SetBackgroundColour("Navy") b.SetForegroundColour(wx.WHITE) b.SetToolTipString("This is a BIG button...")