mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 18:50:45 +02:00
LCL: changed TControl.GetDefaultColors to clForm,clBtnText, bug #26535
git-svn-id: trunk@46001 -
This commit is contained in:
parent
e6c7b22177
commit
d5d00f088a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user