X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..003cf4efd2ff8938a067b17abbe1ab17b37c38b5:/wxPython/wx/lib/intctrl.py diff --git a/wxPython/wx/lib/intctrl.py b/wxPython/wx/lib/intctrl.py index 65ff2e58fa..897045a506 100644 --- a/wxPython/wx/lib/intctrl.py +++ b/wxPython/wx/lib/intctrl.py @@ -109,7 +109,7 @@ class IntValidator( wx.PyValidator ): selected. Leading zeros are removed if introduced by selection, and are prevented from being inserted. """ - key = event.KeyCode() + key = event.GetKeyCode() ctrl = event.GetEventObject()