X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3b61cdaa039a459942dadbb811024f5f32789f2..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/demo/Dialog.py diff --git a/wxPython/demo/Dialog.py b/wxPython/demo/Dialog.py index 8897c26e86..756c730020 100644 --- a/wxPython/demo/Dialog.py +++ b/wxPython/demo/Dialog.py @@ -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) #---------------------------------------------------------------------------