mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
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:
parent
bd3c9c2035
commit
774004fa9f
1 changed files with 7 additions and 0 deletions
|
@ -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]];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue