Various testing changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-31 17:13:42 +00:00
parent 21de2c2911
commit 9e039e3753
3 changed files with 12 additions and 3 deletions

View File

@@ -33,7 +33,6 @@ class MyFrame(wx.Frame):
sizer.Add(text, 0, wx.ALL, 10)
sizer.Add(btn, 0, wx.ALL, 10)
panel.SetSizer(sizer)
panel.SetAutoLayout(True)
panel.Layout()
wx.EVT_BUTTON(self, btn.GetId(), self.OnButton)
@@ -47,6 +46,6 @@ class MyFrame(wx.Frame):
app = wx.PySimpleApp()
frame = MyFrame(None, "Simple wxPython App")
frame.Show(True)
frame.Show()
app.MainLoop()