X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7403ad2d154a8e2974fdc5fc215258f3a75cdde..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/_app_ex.py?ds=sidebyside diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index 4788189044..f70c78c26f 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -86,7 +86,7 @@ class App(wx.PyApp): ``self.SetTopWindow(frame)``. :see: `wx.PySimpleApp` for a simpler app class that can be used - directly. + directly. """ outputWindowClass = PyOnDemandOutputWindow @@ -133,6 +133,8 @@ This program needs access to the screen. Please run with 'pythonw', not 'python', and only when you are logged in on the main display of your Mac.""" _sys.exit(1) + except SystemExit: + raise except: pass @@ -234,7 +236,6 @@ class PySimpleApp(wx.App): wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt) def OnInit(self): - wx.InitAllImageHandlers() return True