X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3b61cdaa039a459942dadbb811024f5f32789f2..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/Dialog.py?ds=sidebyside 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) #---------------------------------------------------------------------------