]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/lib/calendar.py
Minor compilation fix for Borland
[wxWidgets.git] / utils / wxPython / lib / calendar.py
index d56a7027729b0be4b8bce00bbef57072e5c800c9..2c4bbd7112d7f504e0b8abeb2af1bae7accb744f 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/local/bin/python
 #----------------------------------------------------------------------------
 # Name:         calendar.py
 # Purpose:      Calendar display control
@@ -392,7 +391,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