TAChart: Fix usage of incorrect drawing backend in OnAfterCustomDrawBackwall (https://www.lazarusforum.de/viewtopic.php?f=18&t=13347).

git-svn-id: trunk@64379 -
This commit is contained in:
wp 2021-01-12 14:44:55 +00:00
parent ad7d239447
commit 68f758f8e2

View File

@ -1049,7 +1049,7 @@ begin
end;
if Assigned(OnAfterCustomDrawBackWall) then
OnAfterCustomDrawBackwall(Self, Drawer, FClipRect);
OnAfterCustomDrawBackwall(Self, ADrawer, FClipRect);
if Supports(ADrawer, IChartTCanvasDrawer, ic) and Assigned(OnAfterDrawBackWall) then
OnAfterDrawBackWall(Self, ic.Canvas, FClipRect);