X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b800ce7c2bb1c1f08075f22be2e7412124b47f..7f3450784cc9c696f269ff1bfde3623c180d4b58:/wxPython/wx/lib/calendar.py diff --git a/wxPython/wx/lib/calendar.py b/wxPython/wx/lib/calendar.py index 78071e666b..d65973c411 100644 --- a/wxPython/wx/lib/calendar.py +++ b/wxPython/wx/lib/calendar.py @@ -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()