TTreeView: use selected color for expand/collapse sign if rowSelect=true and node is selected.

git-svn-id: trunk@24815 -
This commit is contained in:
zeljko 2010-04-22 08:10:49 +00:00
parent 0b8221cd19
commit 1cb343f328

View File

@ -4318,7 +4318,10 @@ var
if not ShowButtons then exit;
with Canvas do
begin
Brush.Color:=BackgroundColor;
if (tvoRowSelect in FOptions) and NodeSelected then
Brush.Color := FSelectedColor
else
Brush.Color := FBackgroundColor;
Pen.Color:=FExpandSignColor;
Pen.Style:=psSolid;
HalfSize := FExpandSignSize shr 1;