X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf2f43eade1ec5d3c6cbd96cb13551acabc9a99..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxFrame.py diff --git a/wxPython/demo/wxFrame.py b/wxPython/demo/wxFrame.py index 8f4e1a17d7..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() @@ -25,9 +25,9 @@ class MyFrame(wxFrame): def runTest(frame, nb, log): win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200), - style = wxDEFAULT_FRAME_STYLE | wxFRAME_TOOL_WINDOW ) + style = wxDEFAULT_FRAME_STYLE)# | wxFRAME_TOOL_WINDOW ) frame.otherWin = win - win.Show(true) + win.Show(True) #---------------------------------------------------------------------------