mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 01:30:38 +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;
|
function TAxisDrawHelper.GetDefaultPenColor: TColor;
|
||||||
begin
|
begin
|
||||||
Result := TCustomChart(FAxis.Collection.Owner).GetDefaultColor(dctFont);
|
Result := clWindowText;
|
||||||
|
// Not like this: (crashes)
|
||||||
|
// TCustomChart(FAxis.Collection.Owner).GetDefaultColor(dctFont);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TAxisDrawHelper.InternalAxisLine(
|
procedure TAxisDrawHelper.InternalAxisLine(
|
||||||
|
Loading…
Reference in New Issue
Block a user