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