[Commits] (john) - Don't draw cursor outline on read only grid cells

commits at osafoundation.org commits at osafoundation.org
Thu Aug 19 13:17:18 PDT 2004


Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.101 1.102

Log message:
- Don't draw cursor outline on read only grid cells

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.101&r2=text&tr2=1.102

Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.101 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.102
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.101	Thu Aug 19 12:43:53 2004
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py	Thu Aug 19 13:17:17 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.101 $"
-__date__ = "$Date: 2004/08/19 19:43:53 $"
+__version__ = "$Revision: 1.102 $"
+__date__ = "$Date: 2004/08/19 20:17:17 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -397,7 +397,11 @@
         self.EnableGridLines(False)
         self.SetMargins(0-wx.SystemSettings_GetMetric(wx.SYS_VSCROLL_X),
                         0-wx.SystemSettings_GetMetric(wx.SYS_HSCROLL_Y))
-        self.SetCellHighlightPenWidth(0)
+        """
+          Don't draw cursor outline on selected cells
+        """
+        self.SetCellHighlightPenWidth (0)
+        self.SetCellHighlightROPenWidth (0)
 
         self.SetDefaultRenderer (GridCellAttributeRenderer("_default"))
         self.RegisterDataType ("String",



More information about the Commits mailing list