mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-18 22:44:29 +01:00
fixed changing TPen.FPColor
git-svn-id: trunk@6731 -
This commit is contained in:
parent
3e1747c0ff
commit
a6b83fde9b
@ -291,6 +291,7 @@ end;
|
||||
procedure TPen.SetColor(const NewColor: TColor; const NewFPColor: TFPColor);
|
||||
begin
|
||||
if (NewColor=Color) and (NewFPColor=FPColor) then exit;
|
||||
FreeHandle;
|
||||
FColor:=NewColor;
|
||||
inherited SetFPColor(NewFPColor);
|
||||
Changed;
|
||||
@ -307,6 +308,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.22 2005/02/04 00:51:06 mattias
|
||||
fixed changing TPen.FPColor
|
||||
|
||||
Revision 1.21 2005/01/20 00:31:39 mattias
|
||||
fixed fpCanvas TPenStyle to LCL intf pen styles
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user