mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
TAChart: Fix occasional crash due to r64662 #d58c41bcad
git-svn-id: trunk@64715 -
This commit is contained in:
parent
6bdff78d46
commit
1ff32ae62f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user