Skip to content

Commit

Permalink
Change EVT_CHAR to EVT_KEY_DOWN in the interpreter textctrl of the se…
Browse files Browse the repository at this point in the history
…rver window (fixed scrolling history on MacOS).
  • Loading branch information
belangeo committed Mar 1, 2018
1 parent cb3da7a commit 7953a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyolib/_wxwidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,7 @@ def __init__(self, parent=None, nchnls=2, startf=None, stopf=None,
tw, th = self.GetTextExtent("|")
self.text = wx.TextCtrl(panel, -1, "", size=(202, th+8), style=wx.TE_PROCESS_ENTER)
self.text.Bind(wx.EVT_TEXT_ENTER, self.getText)
self.text.Bind(wx.EVT_CHAR, self.onChar)
self.text.Bind(wx.EVT_KEY_DOWN, self.onChar)
box.Add(self.text, 0, wx.LEFT | wx.RIGHT | wx.EXPAND, 5)

box.AddSpacer(10)
Expand Down

0 comments on commit 7953a97

Please sign in to comment.