How can I set the selection color? In this case, it's the color of a selection in an NSTableView
edit:
Here's my subclass:
- (void)highlightSelectionInClipRect:(NSRect)clipRect
{
NSBezierPath *windowPath;
windowPath = [NSBezierPath bezierPathWithRect:clipRect];
[[NSColor greenColor] set];
[windowPath fill];
}
The only problem is that it puts the color in the background, not as the color that's used when I highlight a row.