X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d819fba8aed9bb1bdbfa72867223835bb28e3a8e..c75cc2e832791a8d24b97d92491685e8e10e37f3:/wxPython/wx/lib/calendar.py diff --git a/wxPython/wx/lib/calendar.py b/wxPython/wx/lib/calendar.py index bc26550a67..b5bcd353e7 100644 --- a/wxPython/wx/lib/calendar.py +++ b/wxPython/wx/lib/calendar.py @@ -751,6 +751,7 @@ class Calendar( wx.PyControl ): # determine the calendar rectangle click area and draw a selection def ProcessClick(self, event): + self.SetFocus() self.x, self.y = event.GetX(), event.GetY() self.shiftkey = event.ShiftDown() self.ctrlkey = event.ControlDown()