X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9b24f070c67c61d11a0032054e0a229d876f38d..d2c7015bf07982c3b9c3e8ca62b326e589f95e46:/wxPython/demo/run.py diff --git a/wxPython/demo/run.py b/wxPython/demo/run.py index f82ecbbea5..82d702bb43 100755 --- a/wxPython/demo/run.py +++ b/wxPython/demo/run.py @@ -33,7 +33,7 @@ class RunDemoApp(wxApp): def __init__(self, name, module): self.name = name self.demoModule = module - wxApp.__init__(self, wxPlatform == "__WXMAC__") + wxApp.__init__(self, 0) ##wxPlatform == "__WXMAC__") def OnInit(self): @@ -84,7 +84,7 @@ class RunDemoApp(wxApp): def main(argv): - if len(argv) != 2: + if len(argv) < 2: print "Please specify a demo module name on the command-line" raise SystemExit