]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/scrolledpanel.py
Remember the version selected and allow require to be called again as
[wxWidgets.git] / wxPython / wx / lib / scrolledpanel.py
index 006cbc87339f415fe832eede13d84f5d395d4593..851d9332fa9a075dd7e32466f680e7c1f07af3a5 100644 (file)
@@ -38,7 +38,7 @@ class ScrolledPanel( wx.PyScrolledWindow ):
         wx.PyScrolledWindow.__init__(self, parent, -1,
                                      pos=pos, size=size,
                                      style=style, name=name)
-        self.SetBestSize(size)
+        self.SetBestFittingSize(size)
         self.Bind(wx.EVT_CHILD_FOCUS, self.OnChildFocus)