X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..eee9bf2e5c7cc489bd409dddff7ecba109aa12b9:/wxPython/demo/Process.py diff --git a/wxPython/demo/Process.py b/wxPython/demo/Process.py index 42c46c2cd6..ad6827cc31 100644 --- a/wxPython/demo/Process.py +++ b/wxPython/demo/Process.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -15,8 +11,8 @@ class TestPanel(wx.Panel): self.process = None self.Bind(wx.EVT_IDLE, self.OnIdle) - # We can either derive from wxProcess and override OnTerminate - # or we can let wxProcess send this window an event that is + # We can either derive from wx.Process and override OnTerminate + # or we can let wx.Process send this window an event that is # caught in the normal way... self.Bind(wx.EVT_END_PROCESS, self.OnProcessEnded) @@ -26,7 +22,8 @@ class TestPanel(wx.Panel): self.cmd = wx.TextCtrl(self, -1, 'python -u data/echo.py') self.exBtn = wx.Button(self, -1, 'Execute') - self.out = wx.TextCtrl(self, -1, '', style=wx.TE_MULTILINE|wx.TE_READONLY) + self.out = wx.TextCtrl(self, -1, '', + style=wx.TE_MULTILINE|wx.TE_READONLY|wx.TE_RICH2) self.inp = wx.TextCtrl(self, -1, '', style=wx.TE_PROCESS_ENTER) self.sndBtn = wx.Button(self, -1, 'Send') @@ -139,9 +136,9 @@ def runTest(frame, nb, log): overview = """\
-