]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/intctrl.py
Compile fixes for Panther
[wxWidgets.git] / wxPython / wx / lib / intctrl.py
index 65ff2e58fac525f009aa347ed0545f3683ce3f8c..897045a5069b4a169321393b75ac4acdc29687e9 100644 (file)
@@ -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()