From: Robin Dunn Date: Sat, 25 Sep 2004 23:11:03 +0000 (+0000) Subject: Force the output window to display at the begining of the app X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3f4cbd6c8bf939765639251a82308f40f7f5514 Force the output window to display at the begining of the app git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/samples/simple/simple.py b/wxPython/samples/simple/simple.py index ee27c45d71..a5d774b83c 100644 --- a/wxPython/samples/simple/simple.py +++ b/wxPython/samples/simple/simple.py @@ -74,10 +74,13 @@ class MyFrame(wx.Frame): class MyApp(wx.App): def OnInit(self): frame = MyFrame(None, "Simple wxPython App") - frame.Show(True) self.SetTopWindow(frame) + + print "This is where print statements go." + + frame.Show(True) return True -app = MyApp(True) +app = MyApp(redirect=True) app.MainLoop()