From f062c0e2ee389f35fadf25c2577fb1c6179b4ce2 Mon Sep 17 00:00:00 2001
From: Robin Dunn <robin@alldunn.com>
Date: Fri, 4 Feb 2005 19:35:40 +0000
Subject: [PATCH] Patch #1113284: wx.lib.calendar SetBusType() problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 wxPython/wx/lib/calendar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wxPython/wx/lib/calendar.py b/wxPython/wx/lib/calendar.py
index c18f593ccd..fa0b9cbb62 100644
--- a/wxPython/wx/lib/calendar.py
+++ b/wxPython/wx/lib/calendar.py
@@ -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
 
-- 
2.47.2