fix layout

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-02 19:59:58 +00:00
parent dc9876fb4a
commit f30589a9ea

View File

@@ -532,9 +532,9 @@ class TestFrame(wx.Frame):
self.sizer = sizerFunc(p) self.sizer = sizerFunc(p)
self.CreateStatusBar() self.CreateStatusBar()
self.SetStatusText("Resize this frame to see how the sizers respond...") self.SetStatusText("Resize this frame to see how the sizers respond...")
self.sizer.Fit(p)
p.SetSizer(self.sizer) p.SetSizer(self.sizer)
self.sizer.Fit(p)
self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
self.Fit() self.Fit()