Changeset 4303
- Timestamp:
- 07/21/2008 12:06:04 PM (1 month ago)
- Files:
-
- trunk/dabo/ui/uiwx/dGrid.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/dGrid.py
r4269 r4303 1065 1065 1066 1066 def _getForeColor(self): 1067 return self._gridColAttr.GetTextColour() 1067 try: 1068 return self._gridColAttr.GetTextColour() 1069 except wx.PyAssertionError: 1070 # Getting the color failed on Mac and win: "no default attr" 1071 default = dColors.colorTupleFromName("black") 1072 self._gridColAttr.SetTextColour(default) 1073 return default 1068 1074 1069 1075 def _setForeColor(self, val):
