X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0473f5f5acddc18b39f9a2a1aff0de5038e7aae..46f9bb9475c95ef7ce6420462253e9382006714c:/utils/wxPython/lib/calendar.py diff --git a/utils/wxPython/lib/calendar.py b/utils/wxPython/lib/calendar.py index d56a702772..eb394e9734 100644 --- a/utils/wxPython/lib/calendar.py +++ b/utils/wxPython/lib/calendar.py @@ -392,7 +392,7 @@ class wxCalendar(wxWindow): for key in self.rg.keys(): val = self.rg[key] rt = wxRegion() - rt.Union(val) + rt.UnionRect(val) if rt.Contains(mx, my) != 0: result = self.TestDay(key) return result