2014-03-25 34 views
0

我想为wxPython 2.8中的选定项目设置一个自定义背景。我无法弄清楚如何去做。我试过SetItemBackground没有运气。在ListCtrl中设置选择背景

+0

相似/相关:http://stackoverflow.com/questions/22767484/is-it-possible-to-change-the-colour-of-the-focus-selector-of-a-listctrl,正如指出的那样由@vz – isync

回答

0

wxListCtrl,,等选定的项目中总是使用系统后台选择的颜色,因此无法更改。

+0

我很害怕这个。有没有解决它的方法? – Ryan