fixed changing TPen.FPColor

git-svn-id: trunk@6731 -
This commit is contained in:
mattias 2005-02-04 00:51:06 +00:00
parent 3e1747c0ff
commit a6b83fde9b

View File

@ -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