]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/XmlResourceHandler.py
An icon for the doc viewer
[wxWidgets.git] / wxPython / demo / XmlResourceHandler.py
index b15defd373ef96566c2852331b9a1bbee84f3a9b..1f415e35a6e2171f69bcba9ada5a8fdc87ed27d7 100644 (file)
@@ -181,5 +181,5 @@ to create instances of that class when the resource is loaded.
 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:])