]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ListCtrl_virtual.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / ListCtrl_virtual.py
index 757575b34d5c88fe86be23bb5cdfe20805e96093..8d842da7737b24a5d5dd6a2302c543886ba76636 100644 (file)
@@ -105,5 +105,5 @@ without limiting what can be done with the list control itself.
 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:])