]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/SpinCtrl.py
Made more useable from the command-line, since that is its primary purpose.
[wxWidgets.git] / wxPython / demo / SpinCtrl.py
index 0104fc1f7a7641a46b41c99ad09f764b3b01f701..23d20cb31f7ed75eaf708562bc2c54e22f6b0e24 100644 (file)
@@ -42,4 +42,4 @@ range is supported.
 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:])