]> git.saurik.com Git - wxWidgets.git/commitdiff
Patch #1113284: wx.lib.calendar SetBusType() problem
authorRobin Dunn <robin@alldunn.com>
Fri, 4 Feb 2005 19:35:40 +0000 (19:35 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 4 Feb 2005 19:35:40 +0000 (19:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/calendar.py

index c18f593ccdf7a3c3bba171481e80e11482ee05af..fa0b9cbb627280908011a8e4a0ab74a12e8c2f91 100644 (file)
@@ -292,7 +292,7 @@ class CalDraw:
             self.cal_days.append(str(i))
             i = i + 1
 
-        self.end_pos = dow + dim
+        self.end_pos = start_pos + dim - 1
 
         return start_pos