質問

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.

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top