X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf694132f1c28509a9f84377ce8d374bae4177ad..b51b78a9c7b50053cdcf4a22d2222500a20eb8ee:/utils/wxPython/tests/test1.py diff --git a/utils/wxPython/tests/test1.py b/utils/wxPython/tests/test1.py index 90e68ee2de..5cc269d636 100644 --- a/utils/wxPython/tests/test1.py +++ b/utils/wxPython/tests/test1.py @@ -12,10 +12,8 @@ #---------------------------------------------------------------------------- -## import all of the wxPython GUI package from wxPython.wx import * - #--------------------------------------------------------------------------- ## Create a new frame class, derived from the wxPython Frame. @@ -54,6 +52,7 @@ class MyFrame(wxFrame): #--------------------------------------------------------------------------- + # Every wxWindows application must have a class derived from wxApp class MyApp(wxApp): @@ -73,11 +72,12 @@ class MyApp(wxApp): #--------------------------------------------------------------------------- -app = MyApp(0) # Create an instance of the application class +app = MyApp(1) # Create an instance of the application class app.MainLoop() # Tell it to start processing events print 'done!' + #---------------------------------------------------------------------------- -# +