]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/lib/calendar.py
Unicode compilation fix
[wxWidgets.git] / utils / wxPython / lib / calendar.py
index d56a7027729b0be4b8bce00bbef57072e5c800c9..eb394e97349216362e7ce3986414692a9cbdcc2e 100644 (file)
@@ -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