diff --git a/src/osx/cocoa/stattext.mm b/src/osx/cocoa/stattext.mm index 9e51efa8b7..52575abaf6 100644 --- a/src/osx/cocoa/stattext.mm +++ b/src/osx/cocoa/stattext.mm @@ -60,10 +60,8 @@ [super setEnabled: flag]; - if (![self drawsBackground]) { - // Static text is drawn incorrectly when disabled. - // For an explanation, see - // http://www.cocoabuilder.com/archive/message/cocoa/2006/7/21/168028 + if (![self drawsBackground]) + { if (flag) { if (m_textColor) @@ -76,7 +74,7 @@ [m_textColor release]; m_textColor = [[self textColor] retain]; } - [self setTextColor: [NSColor secondarySelectedControlColor]]; + [self setTextColor: [NSColor disabledControlTextColor]]; } } }