]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/calendar.py
more informative assert message
[wxWidgets.git] / wxPython / wx / lib / calendar.py
index 78071e666b6517489d400cac9a2094be52e861ee..d65973c41150fac5f81b1b0d1061666e6fc3d8db 100644 (file)
@@ -771,7 +771,7 @@ class Calendar( wx.PyControl ):
             event.Skip()
             return
         
-        key_code = event.KeyCode()
+        key_code = event.GetKeyCode()
         
         if key_code == wx.WXK_TAB:
             forward = not event.ShiftDown()