Use BTNFACE colour for rendering selected item when widget is unfocussed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-10-20 10:33:32 +00:00
parent 1cfc497117
commit 4cda739ce4

View File

@ -548,7 +548,7 @@ wxRendererXP::DrawItemSelectionRect(wxWindow *win,
}
else // !focused
{
brush = wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW));
brush = wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
}
}
else // !selected