- Revision
- 11447
- Author
- jeffrey
- Date
- 2006-08-17 21:10:59 -0700 (Thu, 17 Aug 2006)
Log Message
- Fix bug 5092, don't anti-alias grid lines
Modified Paths
Diff
Modified: trunk/chandler/parcels/osaf/framework/blocks/calendar/TimedCanvas.py (11446 => 11447)
--- trunk/chandler/parcels/osaf/framework/blocks/calendar/TimedCanvas.py 2006-08-18 03:22:36 UTC (rev 11446) +++ trunk/chandler/parcels/osaf/framework/blocks/calendar/TimedCanvas.py 2006-08-18 04:10:59 UTC (rev 11447) @@ -371,6 +371,9 @@ self.xOffset - wText - 5, hour * self.hourHeight - (hText/2)) + if '__WXMAC__' in wx.PlatformInfo: + dc.SetAntiAliasing(False) + # Draw the line between hours dc.SetPen(styles.majorLinePen) dc.DrawLine(self.xOffset, @@ -390,6 +393,9 @@ self.size.width+1, hour * self.hourHeight + halfHourHeight) + if '__WXMAC__' in wx.PlatformInfo: + dc.SetAntiAliasing(True) + # Draw a final, bottom hour line dc.SetPen(styles.majorLinePen) dc.DrawLine(self.xOffset,
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
