Code: Select all
virtual wxListItemAttr* OnGetItemAttr(long item) const;
Code: Select all
wxListItemAttr(*wxWHITE, *wxCYAN, *wxNORMAL_FONT);
I want to change the selected item background to be always blue, not only when the list has focus on it.
How can I know if the item is selected or not? Do I need to keep track of that myself?
It would be nice to get rid of that dotted rectangle of focused item too or make it appear always (now it appears randomly).