Added suggestion for further improvement in comment

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12542 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-02-14 13:24:01 +00:00
parent bd3c9c2035
commit 774004fa9f

View file

@ -183,6 +183,13 @@
if ((column == highlightedTableColumn)
|| [_tableView isColumnSelected: i])
{
/* FIXME/TODO - cell can be any subclass of NSCell
(specially a custom subclass), which might not implement
setBackgroundColor: (or might not want us to mess up its
custom drawing by hardcoding a background color here) -
so we should not call it. Instead, NSTableHeaderCell
should override setHighlighted: to change the background
color. */
[cell setHighlighted: YES];
[cell setBackgroundColor: [NSColor controlColor]];
}