mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 02:20:43 +01: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;
|
function TControl.GetDefaultColor(const DefaultColorType: TDefaultColorType): TColor;
|
||||||
const
|
const
|
||||||
DefColors: array[TDefaultColorType] of TColor = (
|
DefColors: array[TDefaultColorType] of TColor = (
|
||||||
{ dctBrush } clWindow,
|
{ dctBrush } clForm,
|
||||||
{ dctFont } clWindowText
|
{ dctFont } clBtnText
|
||||||
);
|
);
|
||||||
begin
|
begin
|
||||||
Result := TWSControlClass(WidgetSetClass).GetDefaultColor(Self, DefaultColorType);
|
Result := TWSControlClass(WidgetSetClass).GetDefaultColor(Self, DefaultColorType);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user