fixed text fg colour for selected but unfocused items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2018,7 +2018,7 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
|
|||||||
wxTRANSPARENT_PEN;
|
wxTRANSPARENT_PEN;
|
||||||
|
|
||||||
wxColour colText;
|
wxColour colText;
|
||||||
if (item->IsSelected() && m_hasFocus)
|
if ( item->IsSelected() )
|
||||||
{
|
{
|
||||||
colText = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
|
colText = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user