diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index c0a138a18d..5eb81a5284 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -2948,7 +2948,6 @@ bool wxDataViewTextRenderer::MacRender() if ( [cell backgroundStyle] == NSBackgroundStyleDark ) { [str removeAttribute:NSForegroundColorAttributeName range:NSMakeRange(0, [str length])]; - [str removeAttribute:NSBackgroundColorAttributeName range:NSMakeRange(0, [str length])]; } [cell setAttributedStringValue:str];