sizer.Add(text, 0, wxALL, 10)
sizer.Add(btn, 0, wxALL, 10)
panel.SetSizer(sizer)
- panel.SetAutoLayout(true)
+ panel.SetAutoLayout(True)
panel.Layout()
EVT_BUTTON(self, btn.GetId(), self.OnButton)
app = wxPySimpleApp()
frame = MyFrame(None, "Simple wxPython App")
-frame.Show(true)
+frame.Show(True)
app.MainLoop()