X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/969d9b6fa963c0f14298e0ec8aa88b6d6292a6f8..b843b628c9f936d6a87ca1e9b91e88a4604270c4:/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...")