]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PythonEvents.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / PythonEvents.py
index c83ac1afc638b3cc9091767bb0e2f749a7eb591f..b65a9183e61861771ba0a6d95f09bf515cd175a3 100644 (file)
@@ -104,5 +104,5 @@ is required if you used the *.Bind() method of setting up event handlers.
 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:])