]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/misc/widgetLayoutTest.py
added missing button state
[wxWidgets.git] / wxPython / misc / widgetLayoutTest.py
index bcb463e87c1e42bf319024aea88a2601ea10ac17..21a61861ca912564c94a934198d1d61239a0642c 100644 (file)
@@ -446,7 +446,7 @@ class SizeInfoPane(wx.Panel):
         self._minsize.SetValue(    str(win.GetMinSize()) )
         self._bestsize.SetValue(   str(win.GetBestSize()) )
         self._adjbstsize.SetValue( str(win.GetAdjustedBestSize()) )
         self._minsize.SetValue(    str(win.GetMinSize()) )
         self._bestsize.SetValue(   str(win.GetBestSize()) )
         self._adjbstsize.SetValue( str(win.GetAdjustedBestSize()) )
-        self._bestfit.SetValue(    str(win.GetBestFittingSize()) )
+        self._bestfit.SetValue(    str(win.GetEffectiveMinSize()) )
 
     def Clear(self):
         self._size.SetValue("")
 
     def Clear(self):
         self._size.SetValue("")