Question

I'm trying to set a custom background for selected items in wxPython 2.8. I cannot figure out how to do so. I've tried SetItemBackground with no luck.

Était-ce utile?

La solution

Selected items in wxListCtrl, wxListBox and so on always use the system background selection colour, it can't be changed.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top