[Commits] (alecf) re-fix bug 2859 - repaint on mac after color changes

commits at osafoundation.org commits at osafoundation.org
Fri Apr 22 13:32:28 PDT 2005


Commit by: alecf
Modified files:
chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py 1.79 1.80

Log message:
re-fix bug 2859 - repaint on mac after color changes


Bugzilla links:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2859

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

Index: chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py
diff -u chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.79 chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.80
--- chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.79	Thu Apr 21 21:08:56 2005
+++ chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py	Fri Apr 22 13:32:27 2005
@@ -1,8 +1,8 @@
 """ Canvas for calendaring blocks
 """
 
-__version__ = "$Revision: 1.79 $"
-__date__ = "$Date: 2005/04/22 04:08:56 $"
+__version__ = "$Revision: 1.80 $"
+__date__ = "$Date: 2005/04/22 20:32:27 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -820,6 +820,9 @@
         
     def OnSelectColor(self, event):
         self.blockItem.setEventsColor(event.GetValue())
+        
+        # just cause a repaint - hopefully this cascades to child windows?
+        self.Refresh()
 
 class wxWeekHeaderWidgets(wx.Panel):
 



More information about the Commits mailing list