Browse Source

change consts used for style

Based on
https://wxpython.org/Phoenix/docs/html/wx.richtext.RichTextCtrl.html#wx.richtext.RichTextCtrl
the style constants used are wrong.
pull/473/head
eladeyal 6 years ago
committed by Chris
parent
commit
e519609834
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/gui/components/widgets/richtextconsole.py

2
gooey/gui/components/widgets/richtextconsole.py

@ -38,7 +38,7 @@ class RichTextConsole(wx.richtext.RichTextCtrl):
"""
def __init__(self, parent):
super(wx.richtext.RichTextCtrl, self).__init__(parent, -1, "", style=wx.TE_MULTILINE | wx.TE_READONLY)
super(wx.richtext.RichTextCtrl, self).__init__(parent, -1, "", style=wx.richtext.RE_MULTILINE | wx.richtext.RE_READONLY)
self.esc = colored.style.ESC
self.end = colored.style.END
self.noop = lambda *args, **kwargs: None

Loading…
Cancel
Save