X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5a5d6473c0f5339854a4105a57c6a733632f073..72b4f026a20d35b2053df7764a63c88a0c108e08:/wxPython/demo/run.py diff --git a/wxPython/demo/run.py b/wxPython/demo/run.py index 09cc9488dd..d2eac71dae 100755 --- a/wxPython/demo/run.py +++ b/wxPython/demo/run.py @@ -33,7 +33,8 @@ class RunDemoApp(wxApp): def __init__(self, name, module): self.name = name self.demoModule = module - wxApp.__init__(self, 0) + wxApp.__init__(self, wxPlatform == "__WXMAC__") + def OnInit(self): wxInitAllImageHandlers()