X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af309447ff8413abd2fa5e9cc780fcef1c891f87..90bc25c7c932a6f7510bd6f7155efb958e73974d:/utils/wxPython/tests/test1.py?ds=sidebyside 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!' + #---------------------------------------------------------------------------- -# +