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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user