]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/calendar.py
put wx in the shell's namespace too
[wxWidgets.git] / wxPython / wx / lib / calendar.py
index bc26550a67e3971a654fad0528f7df46818e693f..b5bcd353e7819c66cbddf7812f610f5e76ff4650 100644 (file)
@@ -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()