X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b166c70307f14952b3844837c98602425020e1c5..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxFrame.py diff --git a/wxPython/demo/wxFrame.py b/wxPython/demo/wxFrame.py index 3eac8d119c..428859beec 100644 --- a/wxPython/demo/wxFrame.py +++ b/wxPython/demo/wxFrame.py @@ -16,7 +16,7 @@ class MyFrame(wxFrame): def OnCloseMe(self, event): - self.Close(true) + self.Close(True) def OnCloseWindow(self, event): self.Destroy() @@ -27,7 +27,7 @@ def runTest(frame, nb, log): win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200), style = wxDEFAULT_FRAME_STYLE)# | wxFRAME_TOOL_WINDOW ) frame.otherWin = win - win.Show(true) + win.Show(True) #---------------------------------------------------------------------------