X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9fd2e6f1bc12968f525a0171bb15787bd6d29b3..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxMiniFrame.py diff --git a/wxPython/demo/wxMiniFrame.py b/wxPython/demo/wxMiniFrame.py index 2e947486e8..fd7c6c7f45 100644 --- a/wxPython/demo/wxMiniFrame.py +++ b/wxPython/demo/wxMiniFrame.py @@ -14,9 +14,10 @@ class MyMiniFrame(wxMiniFrame): EVT_CLOSE(self, self.OnCloseWindow) def OnCloseMe(self, event): - self.Close(true) + self.Close(True) def OnCloseWindow(self, event): + print "OnCloseWindow" self.Destroy() #--------------------------------------------------------------------------- @@ -28,7 +29,7 @@ def runTest(frame, nb, log): win.SetSize((200, 200)) win.CenterOnParent(wxBOTH) frame.otherWin = win - win.Show(true) + win.Show(True) #---------------------------------------------------------------------------