no need to call SetAutoLayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a65f8220a0
commit
154c60dfde
@ -82,7 +82,6 @@ class TestDialog(wx.Dialog):
|
||||
sizer.Add(btnsizer, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
|
||||
|
||||
self.SetSizer(sizer)
|
||||
self.SetAutoLayout(True)
|
||||
sizer.Fit(self)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user