Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to fix tree and list control selection rendering.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2011-02-25 09:38:35 +00:00
parent d70fe85f46
commit 887b919bde
12 changed files with 33 additions and 2 deletions

View File

@@ -189,6 +189,12 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index )
color = wxColor(ListStyle()->text[GTK_STATE_NORMAL]);
break;
case wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT:
// This is for the text in a list control (or tree) when the
// item is selected, but not focused
color = wxColor(ListStyle()->text[GTK_STATE_ACTIVE]);
break;
case wxSYS_COLOUR_MENUTEXT:
case wxSYS_COLOUR_WINDOWTEXT:
case wxSYS_COLOUR_CAPTIONTEXT: