You've already forked lazarus-ccr
* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user