]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Process.py
Allow clearing the history, and saving the history on demand
[wxWidgets.git] / wxPython / demo / Process.py
index beea93893c614e54e0bbfbeba75169d793ec59e8..ad6827cc3163d4c1bf62d5143a576b184dffc7b3 100644 (file)
@@ -22,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')