X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf2f43eade1ec5d3c6cbd96cb13551acabc9a99..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxFrame.py diff --git a/wxPython/demo/wxFrame.py b/wxPython/demo/wxFrame.py index 8f4e1a17d7..6fbc2d013f 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) #--------------------------------------------------------------------------- @@ -43,3 +43,12 @@ def runTest(frame, nb, log): overview = """\ """ + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +