X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c:/wxPython/demo/Choice.py diff --git a/wxPython/demo/Choice.py b/wxPython/demo/Choice.py index 39e2db847a..35b02b312a 100644 --- a/wxPython/demo/Choice.py +++ b/wxPython/demo/Choice.py @@ -1,7 +1,3 @@ -# 11/15/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -51,10 +47,8 @@ The number of choices and the choice array are consilidated into one python """ - - 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:])