More updates.

Began splitting up wxEntry so wxPython can use the bits it needs
instead of copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-03-11 07:24:00 +00:00
parent 4c9993c3c7
commit 7ff49f0c73
18 changed files with 192 additions and 3921 deletions

View File

@@ -72,12 +72,12 @@ class RunDemoApp(wxApp):
#----------------------------------------------------------------------------
def main():
if len(sys.argv) != 2:
def main(argv):
if len(argv) != 2:
print "Please specify a demo module name on the command-line"
raise SystemExit
name = sys.argv[1]
name = argv[1]
module = __import__(name)
@@ -87,6 +87,6 @@ def main():
if __name__ == "__main__":
main()
main(sys.argv)