* lcl control: use only ColorIsStored for Color - no other default value (see 1837c65413)

This commit is contained in:
Ondrej Pokorny 2022-11-21 12:04:40 +01:00
parent 7a73eac63a
commit 75ebb1fc4a
2 changed files with 2 additions and 2 deletions

View File

@ -1729,7 +1729,7 @@ type
property ClientOrigin: TPoint read GetClientOrigin;
property ClientRect: TRect read GetClientRect;
property ClientWidth: Integer read GetClientWidth write SetClientWidth stored IsClientWidthStored;
property Color: TColor read FColor write SetColor stored ColorIsStored default {$ifdef UseCLDefault}clDefault{$else}clWindow{$endif};
property Color: TColor read FColor write SetColor stored ColorIsStored nodefault;
property Constraints: TSizeConstraints read FConstraints write SetConstraints;
property ControlOrigin: TPoint read GetControlOrigin;
property ControlState: TControlState read FControlState write FControlState;

View File

@ -1615,7 +1615,7 @@ type
procedure Paint; override;
procedure SetBounds(aLeft, aTop, aWidth, aHeight: integer); override;
property AutoSize default True;
property Color nodefault;
property Color;
end;