GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize SetBestSize --> SetInitialSize SetInitialBestSize --> SetInitialSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
@@ -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._bestfit.SetValue( str(win.GetBestFittingSize()) )
|
||||
self._bestfit.SetValue( str(win.GetEffectiveMinSize()) )
|
||||
|
||||
def Clear(self):
|
||||
self._size.SetValue("")
|
||||
|
Reference in New Issue
Block a user