Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top