X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e478ff9e2d0e7af89771856b4b57f5f280bd5343..c4c3e30f2eb4b6771869d1661c32e0b732a6874a:/wxPython/demo/run.py diff --git a/wxPython/demo/run.py b/wxPython/demo/run.py index 39554173aa..f4bb659daa 100755 --- a/wxPython/demo/run.py +++ b/wxPython/demo/run.py @@ -23,7 +23,7 @@ import sys, os # stuff for debugging print "wx.VERSION_STRING = ", wx.VERSION_STRING print "pid:", os.getpid() -##raw_input("Press a key...") +##raw_input("Press Enter...") assertMode = wx.PYAPP_ASSERT_DIALOG ##assertMode = wx.PYAPP_ASSERT_EXCEPTION @@ -44,11 +44,10 @@ class RunDemoApp(wx.App): self.name = name self.demoModule = module self.useShell = useShell - wx.App.__init__(self, 0) + wx.App.__init__(self, redirect=False) def OnInit(self): - wx.InitAllImageHandlers() wx.Log_SetActiveTarget(wx.LogStderr()) self.SetAssertMode(assertMode)