Forgot to output the first string

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-01-13 03:32:06 +00:00
parent e6477984b1
commit 4a7ea057cd

View File

@ -23,6 +23,7 @@ class PyOnDemandOutputWindow:
style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
self.text = wx.TextCtrl(self.frame, -1, "", self.text = wx.TextCtrl(self.frame, -1, "",
style = wx.TE_MULTILINE | wx.TE_READONLY) style = wx.TE_MULTILINE | wx.TE_READONLY)
self.text.AppendText(st)
self.frame.SetSize((450, 300)) self.frame.SetSize((450, 300))
self.frame.Show(True) self.frame.Show(True)
EVT_CLOSE(self.frame, self.OnCloseWindow) EVT_CLOSE(self.frame, self.OnCloseWindow)