fix layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user