]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/simple.py
Pass events to pushed event handlers.
[wxWidgets.git] / wxPython / demo / simple.py
index beed3ee0cd81612ab560817c7a167ee41167cd74..6b28148228aae3e7687be1412f82df42cc832bed 100644 (file)
@@ -33,7 +33,7 @@ class MyFrame(wxFrame):
         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)
@@ -46,6 +46,6 @@ class MyFrame(wxFrame):
 
 app = wxPySimpleApp()
 frame = MyFrame(None, "Simple wxPython App")
-frame.Show(true)
+frame.Show(True)
 app.MainLoop()