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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user