Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,14 +82,14 @@ if __name__ == "__main__":
|
||||
outputWindowClass = wxPyInformationalMessagesFrame
|
||||
def OnInit(self):
|
||||
frame = MyFrame(self.stdioWin)
|
||||
frame.Show(TRUE)
|
||||
frame.Show(True)
|
||||
self.SetTopWindow(frame)
|
||||
if isinstance(sys.stdout,wxPyInformationalMessagesFrame):
|
||||
sys.stdout.SetParent(frame)
|
||||
#self.redirectStdio(None)# this is done automatically
|
||||
# by the MyApp(1) call below
|
||||
print "Starting.\n",
|
||||
return true
|
||||
return True
|
||||
|
||||
app = MyApp(1)
|
||||
app.MainLoop()
|
||||
|
Reference in New Issue
Block a user