X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c12bc4de5887421242de7f619b3c5e265bf631ac..ba7bd901502db16ac1ff00f8da84c5bcda8a7466:/wxPython/samples/doodle/doodle.py diff --git a/wxPython/samples/doodle/doodle.py b/wxPython/samples/doodle/doodle.py index 7756834b09..dbfa8b39c6 100644 --- a/wxPython/samples/doodle/doodle.py +++ b/wxPython/samples/doodle/doodle.py @@ -193,20 +193,11 @@ class DoodleFrame(wxFrame): self.doodle = DoodleWindow(self, -1) -#---------------------------------------------------------------------- - - -class DoodleApp(wxApp): - def OnInit(self): - frame = DoodleFrame(None) - frame.Show(true) - self.SetTopWindow(frame) - return true - - #---------------------------------------------------------------------- if __name__ == '__main__': - app = DoodleApp(0) + app = wxPySimpleApp() + frame = DoodleFrame(None) + frame.Show(true) app.MainLoop()