X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..75d9e502238df95fa53c0030b1fac0d4f43e4025:/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()