From 8dddccd63ede1050f24e9f84e5dc1212a0584042 Mon Sep 17 00:00:00 2001 From: blikblum Date: Thu, 7 Jan 2016 10:28:05 +0000 Subject: [PATCH] * 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 --- components/virtualtreeview-new/trunk/VirtualTrees.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/virtualtreeview-new/trunk/VirtualTrees.pas b/components/virtualtreeview-new/trunk/VirtualTrees.pas index 430a3c956..57b585b7b 100644 --- a/components/virtualtreeview-new/trunk/VirtualTrees.pas +++ b/components/virtualtreeview-new/trunk/VirtualTrees.pas @@ -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;