[Commits] (davids) bumped wxPython RELVER to 19; made cal-colheader changes to match

commits at osafoundation.org commits at osafoundation.org
Wed Apr 20 10:25:28 PDT 2005


Commit by: davids
Modified files:
chandler/Makefile 1.102 1.103
chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py 1.72 1.73

Log message:

bumped wxPython RELVER to 19; made cal-colheader changes to match
r=TBD



ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/Makefile.diff?r1=text&tr1=1.102&r2=text&tr2=1.103
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py.diff?r1=text&tr1=1.72&r2=text&tr2=1.73

Index: chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py
diff -u chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.72 chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.73
--- chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.72	Mon Apr 18 17:48:27 2005
+++ chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py	Wed Apr 20 10:25:27 2005
@@ -1,8 +1,8 @@
 """ Canvas for calendaring blocks
 """
 
-__version__ = "$Revision: 1.72 $"
-__date__ = "$Date: 2005/04/19 00:48:27 $"
+__version__ = "$Revision: 1.73 $"
+__date__ = "$Date: 2005/04/20 17:25:27 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -798,14 +798,14 @@
         self.weekHeader = wx.colheader.ColumnHeader(self)
         
         # turn this off for now, because our sizing needs to be exact
-        self.weekHeader.SetFlagProportionalResizing(False)
+        self.weekHeader.SetAttribute(wx.colheader.CH_ATTR_ProportionalResizing,False)
         headerLabels = ["Week", "S", "M", "T", "W", "T", "F", "S", "+"]
         for header in headerLabels:
-            self.weekHeader.AppendItem(header, wx.colheader.COLUMNHEADER_JUST_Center, 5, bSortEnabled=False)
+            self.weekHeader.AppendItem(header, wx.colheader.CH_JUST_Center, 5, bSortEnabled=False)
         self.Bind(wx.colheader.EVT_COLUMNHEADER_SELCHANGED, self.OnDayColumnSelect, self.weekHeader)
 
         # set up initial selection
-        self.weekHeader.SetFlagVisibleSelection(True)
+        self.weekHeader.SetAttribute(wx.colheader.CH_ATTR_VisibleSelection,True)
         self.UpdateHeader()
         sizer.Add(self.weekHeader, 0, wx.EXPAND)
         
@@ -1027,7 +1027,7 @@
 
         if self.parent.blockItem.dayMode:
             startDay = self.parent.blockItem.selectedDate
-            width = self.size.width
+            width = self.GetSize().width
         else:
             startDay = self.parent.blockItem.rangeStart
             width = self.parent.dayWidth

Index: chandler/Makefile
diff -u chandler/Makefile:1.102 chandler/Makefile:1.103
--- chandler/Makefile:1.102	Mon Apr 18 16:55:58 2005
+++ chandler/Makefile	Wed Apr 20 10:25:27 2005
@@ -31,7 +31,7 @@
          $(CHANDLERARCHIVES)/python-$(SNAP)-2.4-2.tar.gz \
          $(CHANDLERARCHIVES)/soappy-$(SNAP)-0.10.2-2.tar.gz \
          $(CHANDLERARCHIVES)/twisted-$(SNAP)-r11303-4.tar.gz \
-         $(CHANDLERARCHIVES)/wxPython-$(SNAP)-2.5.3.1-14.tar.gz \
+         $(CHANDLERARCHIVES)/wxPython-$(SNAP)-2.5.3.1-19.tar.gz \
          $(CHANDLERARCHIVES)/yapps-$(SNAP)-2.1.1-2.tar.gz \
          $(CHANDLERARCHIVES)/zopeinterface-$(SNAP)-3.0.0b1-2.tar.gz \
          $(CHANDLERARCHIVES)/dateutil-$(SNAP)-0.5-1.tar.gz \



More information about the Commits mailing list