]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Grid.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / Grid.py
index f1f9fb8309f301a4fd6d734632e894482ccfdf47..d2c1af22e94210277b2d5fda8b03d3b83db5706a 100644 (file)
@@ -96,5 +96,5 @@ and wrapping around to the next row when needed.
 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:])