Final tweaks for 2.1b1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-06-28 03:10:35 +00:00
parent fd15d8f1b0
commit a08cbc0168
10 changed files with 48 additions and 10 deletions

View File

@@ -260,11 +260,10 @@ class TestFrame(wxFrame):
self.sizer = sizerFunc(self)
self.CreateStatusBar()
self.SetStatusText("Resize this frame to see how the sizers respond...")
self.sizer.FitWindow(self)
def OnSize(self, event):
size = self.GetClientSize()
self.sizer.Layout(size)