X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af309447ff8413abd2fa5e9cc780fcef1c891f87..55c56a6d80f0ee4a4bf2add6ba1f62c02cbfc23e:/utils/wxPython/tests/test1.py diff --git a/utils/wxPython/tests/test1.py b/utils/wxPython/tests/test1.py index d423811d90..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,10 +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!' + #---------------------------------------------------------------------------- -# +