diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index 7041b5bcd1..20be69570b 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -2922,7 +2922,7 @@ void wxDataViewRenderer::SetAttr(const wxDataViewItemAttr& attr) [cell respondsToSelector:@selector(backgroundColor)] ) { if ( !data->GetOriginalBackgroundColour() ) - data->SaveOriginalTextColour([(id)cell backgroundColor]); + data->SaveOriginalBackgroundColour([(id)cell backgroundColor]); colBack = attr.GetBackgroundColour().OSXGetNSColor(); }