mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 06:19:32 +02:00
lcl: correct FPColor assignment while TBrush constructing
git-svn-id: trunk@29953 -
This commit is contained in:
parent
2c5f759de9
commit
a7816a6197
@ -91,7 +91,7 @@ begin
|
|||||||
inherited Create;
|
inherited Create;
|
||||||
FBitmap := nil;
|
FBitmap := nil;
|
||||||
FColor := clWhite;
|
FColor := clWhite;
|
||||||
FPColor := TColorToFPColor(FColor);
|
inherited SetFPColor(TColorToFPColor(FColor));
|
||||||
DelayAllocate := True;
|
DelayAllocate := True;
|
||||||
FInternalUpdateIndex := -1;
|
FInternalUpdateIndex := -1;
|
||||||
inherited SetStyle(bsSolid);
|
inherited SetStyle(bsSolid);
|
||||||
|
Loading…
Reference in New Issue
Block a user