TAChart: Fix occasional crash due to r64662 #d58c41bcad

git-svn-id: trunk@64715 -
This commit is contained in:
wp 2021-03-01 17:13:56 +00:00
parent 6bdff78d46
commit 1ff32ae62f

View File

@ -368,7 +368,9 @@ end;
function TAxisDrawHelper.GetDefaultPenColor: TColor;
begin
Result := TCustomChart(FAxis.Collection.Owner).GetDefaultColor(dctFont);
Result := clWindowText;
// Not like this: (crashes)
// TCustomChart(FAxis.Collection.Owner).GetDefaultColor(dctFont);
end;
procedure TAxisDrawHelper.InternalAxisLine(