X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23c0ea8c42849743202e97801be76566a09fef40..44f5b995740b69ba222e92a5f7da87080afe4367:/wxPython/demo/simple.py diff --git a/wxPython/demo/simple.py b/wxPython/demo/simple.py index beed3ee0cd..6b28148228 100644 --- a/wxPython/demo/simple.py +++ b/wxPython/demo/simple.py @@ -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()