X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf56f4ece08443e35a810916a59775e4e574dc8e..ff1dadae388b2f408874b80251d64d16d9d46280:/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,