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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top