You've already forked lazarus-ccr
* Use clBtnText instead of clWindowText in header caption
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -7550,7 +7550,7 @@ begin
|
|||||||
else
|
else
|
||||||
TextColor := FHeader.FFont.Color;
|
TextColor := FHeader.FFont.Color;
|
||||||
if TextColor = clDefault then
|
if TextColor = clDefault then
|
||||||
TextColor := clCaptionText;
|
TextColor := clBtnText;
|
||||||
SetTextColor(DC, ColorToRGB(TextColor));
|
SetTextColor(DC, ColorToRGB(TextColor));
|
||||||
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user