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):
self.SetTopWindow(frame)
self.frame = frame
+ #wxLog_SetActiveTarget(wxLogStderr())
+ #wxLog_SetTraceMask(wxTraceMessages)
return true
def main(argv):
- if len(argv) != 2:
+ if len(argv) < 2:
print "Please specify a demo module name on the command-line"
raise SystemExit