LCL: changed TControl.GetDefaultColors to clForm,clBtnText, bug #26535

git-svn-id: trunk@46001 -
This commit is contained in:
mattias 2014-08-01 07:17:17 +00:00
parent e6c7b22177
commit d5d00f088a

View File

@ -1266,8 +1266,8 @@ end;
function TControl.GetDefaultColor(const DefaultColorType: TDefaultColorType): TColor;
const
DefColors: array[TDefaultColorType] of TColor = (
{ dctBrush } clWindow,
{ dctFont } clWindowText
{ dctBrush } clForm,
{ dctFont } clBtnText
);
begin
Result := TWSControlClass(WidgetSetClass).GetDefaultColor(Self, DefaultColorType);