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):
def main(argv):
- if len(argv) != 2:
+ if len(argv) < 2:
print "Please specify a demo module name on the command-line"
raise SystemExit