* Patch from Pascal Riekenberg to fix missing shape color handling

git-svn-id: trunk@55889 -
This commit is contained in:
michael 2017-09-20 15:37:39 +00:00
parent e70c7b573e
commit 02989f3b43

View File

@ -736,7 +736,7 @@ begin
SR:=GetElementRect(BL,SL);
{ Frame must be drawn before the shape as it could have a fill color. }
RenderFrame(AShape.Frame, SR, ABand.Frame.BackgroundColor);
Canvas.Pen.Color:=clBlack;
Canvas.Pen.Color:=TFPReportShape(AShape).Color;
Canvas.Pen.Style:=psSolid;
Canvas.Pen.Width:=1;
lPt1.Left := BL.Left + SL.Left;