]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PopupControl.py
added missing button state
[wxWidgets.git] / wxPython / demo / PopupControl.py
index 8b824b21f64c203d47f69da3e17ee8015b3c6ca5..d96e1ec7d466070401e7164d2db8f950f1b865c2 100644 (file)
@@ -91,5 +91,5 @@ wx.PopupWindow should be used...
 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:])