Create a project with a chart. In the constructor put:
Code: Select all
TLegendPaletteTool* pLegendPalette = new TLegendPaletteTool(Chart1);
pLegendPalette->ParentChart = Chart1;
Code: Select all
#include <TeeLegendPalette.hpp>
In the debugger you can see it is trying to run some TLegendPaletteTool ChartMouseEvent.
I think this is recently introduced - I recently upgraded from v2011.03.30407 and I don't think this was happening.