X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf56f4ece08443e35a810916a59775e4e574dc8e..d5a20ebb32b14f0191faa537cf044394b7b67bf6:/wxPython/wx/lib/editor/editor.py diff --git a/wxPython/wx/lib/editor/editor.py b/wxPython/wx/lib/editor/editor.py index 943e42dd27..d94a8cd8c5 100644 --- a/wxPython/wx/lib/editor/editor.py +++ b/wxPython/wx/lib/editor/editor.py @@ -942,7 +942,7 @@ class Editor(wx.ScrolledWindow): self.AdjustScrollbars() def OnChar(self, event): - key = event.KeyCode() + key = event.GetKeyCode() filters = [self.AltKey, self.MoveSpecialControlKey, self.ControlKey,