TAChart: Add TATools to uses of TAGraph to make sure that BuiltinToolSet is created (fixes crash of converted projects from Delphi).

git-svn-id: trunk@52780 -
This commit is contained in:
wp 2016-08-03 08:18:47 +00:00
parent febc687143
commit b722e49778

View File

@ -464,8 +464,9 @@ implementation
{$R tagraph.res}
uses
Clipbrd, Dialogs, GraphMath, LCLProc, LResources, Math, TADrawerCanvas,
TAGeometry, TAMath, TAStyles, Types;
Clipbrd, Dialogs, GraphMath, LCLProc, LResources, Math, Types,
TADrawerCanvas, TAGeometry, TAMath, TAStyles,
TATools; // needed to initialize OnInitBuiltinTools; added to avoid crash of converted Delphi projects
function CompareZPosition(AItem1, AItem2: Pointer): Integer;
begin