* Use clBtnText instead of clWindowText in header caption (trunk)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2016-01-07 10:28:05 +00:00
parent add0db0bee
commit 8dddccd63e

View File

@ -8068,7 +8068,7 @@ begin
begin
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
if TextColor = clDefault then
TextColor := clCaptionText;
TextColor := clBtnText;
SetTextColor(DC, ColorToRGB(TextColor));
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
end
@ -8088,7 +8088,7 @@ begin
else
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
if TextColor = clDefault then
TextColor := clCaptionText;
TextColor := clBtnText;
SetTextColor(DC, ColorToRGB(TextColor));
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
end;