X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90805926b75bcdc8466b1736df4413c7581cdc30..9fd94f430aa2842eceb9fddcb1a6dee81e7f8ea1:/wxPython/docs/wxPackage.html diff --git a/wxPython/docs/wxPackage.html b/wxPython/docs/wxPackage.html index e6c1ee9d01..58b408ea2c 100644 --- a/wxPython/docs/wxPackage.html +++ b/wxPython/docs/wxPackage.html @@ -8,7 +8,7 @@ - + @@ -28,9 +28,9 @@ Organization: Orbtech Date: -2004-02-04 +2004-03-26 Revision: -1.3 +1.4
@@ -169,8 +169,8 @@ wxPython, so there are lots of examples to look at and to play with. Here is one of them, it is the simple sample.

 #----------------------------------------------------------------------
-# A very simple wxPython example.  Just a wxFrame, wxPanel,
-# wxStaticText, wxButton, and a wxBoxSizer, but it shows the basic
+# A very simple wxPython example.  Just a wx.Frame, wx.Panel,
+# wx.StaticText, wx.Button, and a wx.BoxSizer, but it shows the basic
 # structure of any wxPython application.
 #----------------------------------------------------------------------
 
@@ -244,20 +244,19 @@ class MyFrame(wx.Frame):
 class MyApp(wx.App):
     def OnInit(self):
         frame = MyFrame(None, "Simple wxPython App")
-        frame.Show(True)
         self.SetTopWindow(frame)
+
+        print "Print statements go to this stdout window by default."
+
+        frame.Show(True)
         return True
         
-app = MyApp(True)
+app = MyApp(redirect=True)
 app.MainLoop()
 
 
 
- -