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
This commit is contained in:
@@ -74,10 +74,13 @@ class MyFrame(wx.Frame):
|
|||||||
class MyApp(wx.App):
|
class MyApp(wx.App):
|
||||||
def OnInit(self):
|
def OnInit(self):
|
||||||
frame = MyFrame(None, "Simple wxPython App")
|
frame = MyFrame(None, "Simple wxPython App")
|
||||||
frame.Show(True)
|
|
||||||
self.SetTopWindow(frame)
|
self.SetTopWindow(frame)
|
||||||
|
|
||||||
|
print "This is where print statements go."
|
||||||
|
|
||||||
|
frame.Show(True)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
app = MyApp(True)
|
app = MyApp(redirect=True)
|
||||||
app.MainLoop()
|
app.MainLoop()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user