Support background colour in wxDataViewItemAttr in wxGTK
The code handling background colour was commented out for some reason, simply enable it as it seems to be working just fine -- and update the sample to show that it does.
This commit is contained in:
@@ -470,7 +470,8 @@ bool MyListModel::GetAttrByRow( unsigned int row, unsigned int col,
|
||||
case Col_IconText:
|
||||
if ( !(row % 2) )
|
||||
return false;
|
||||
attr.SetColour(*wxLIGHT_GREY);
|
||||
attr.SetColour(*wxYELLOW);
|
||||
attr.SetBackgroundColour(*wxLIGHT_GREY);
|
||||
break;
|
||||
|
||||
case Col_TextWithAttr:
|
||||
|
Reference in New Issue
Block a user