X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/wx/lib/shell.py diff --git a/wxPython/wx/lib/shell.py b/wxPython/wx/lib/shell.py index 428a2cbbef..0f78ac3ed5 100644 --- a/wxPython/wx/lib/shell.py +++ b/wxPython/wx/lib/shell.py @@ -109,7 +109,7 @@ class PyShellInput(wx.Panel): def OnChar(self, event): """called on CHARevent. executes input on newline""" # print "On Char:", event.__dict__.keys() - if event.KeyCode() !=wx.WXK_RETURN: + if event.GetKeyCode() !=wx.WXK_RETURN: # not of our business event.Skip() return