]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/template.py
added missing button state
[wxWidgets.git] / wxPython / demo / template.py
index 8be058bfeee303ff57efa4c847f07f9b6b39ab23..e63d503c89f6f1abbbba5d50ad0b2d656468325c 100644 (file)
@@ -1,5 +1,5 @@
 
 
-import wx                  # This module uses the new wx namespace
+import wx
 
 #----------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------
 
@@ -29,5 +29,5 @@ overview = """<html><body>
 if __name__ == '__main__':
     import sys,os
     import run
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])