[Commits] (alecf) add an extra call to _doDrawingCalculations during OnInit() because on the mac, we get a wxSynchronizeWidget() before OnSize()

commits at osafoundation.org commits at osafoundation.org
Fri Apr 15 16:33:02 PDT 2005


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

Log message:
add an extra call to _doDrawingCalculations during OnInit() because on the mac, we get a wxSynchronizeWidget() before OnSize()


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

Index: chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py
diff -u chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.68 chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.69
--- chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py:1.68	Fri Apr 15 16:05:47 2005
+++ chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py	Fri Apr 15 16:33:01 2005
@@ -1,8 +1,8 @@
 """ Canvas for calendaring blocks
 """
 
-__version__ = "$Revision: 1.68 $"
-__date__ = "$Date: 2005/04/15 23:05:47 $"
+__version__ = "$Revision: 1.69 $"
+__date__ = "$Date: 2005/04/15 23:33:01 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -805,6 +805,7 @@
         
         # Event handlers
         self.Bind(wx.EVT_SIZE, self.OnSize)
+        self._doDrawingCalculations()
                     
     def ResizeHeader(self):
         # column layout rules are funky:



More information about the Commits mailing list