From f30589a9ea2a3883c2294dc3dbdcd7fc227b5445 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 2 Oct 2006 19:59:58 +0000 Subject: [PATCH] fix layout git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Sizers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/demo/Sizers.py b/wxPython/demo/Sizers.py index eab72bede4..97db7945f7 100644 --- a/wxPython/demo/Sizers.py +++ b/wxPython/demo/Sizers.py @@ -532,9 +532,9 @@ class TestFrame(wx.Frame): self.sizer = sizerFunc(p) self.CreateStatusBar() self.SetStatusText("Resize this frame to see how the sizers respond...") - self.sizer.Fit(p) p.SetSizer(self.sizer) + self.sizer.Fit(p) self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) self.Fit() -- 2.45.2