|
From: John S. <joh...@ja...> - 2021-02-07 17:44:58
|
I'm getting an access violation when exiting. It happens after I step out of
the destructor.
It's related to the SEL_CONFIGURE below. If I comment out the
"FXMAPFUNC(SEL_CONFIGURE" line I do not get the error.
The SEL_PAINT line does not cause a problem.
FXMAPFUNC(SEL_PAINT, GetPlotData::ID_PLOT_CANVAS,
GetPlotData::onCmdRedrawFitPlots),
FXMAPFUNC(SEL_CONFIGURE, GetPlotData::ID_PLOT_CANVAS,
GetPlotData::onCmdFitPlotImageResize),
If I put a break point in the onCmdFitPlotImageResize() routine it is never
hit on exit. However, if I comment out the drawZoneMarkers() line in the
onCmdFitPlotImageResize() routine I do not get the error.
/***************************************************************************
******/
long GetPlotData::onCmdFitPlotImageResize(FXObject*, FXSelector, void*)
{
drawZoneMarkers(false);
_redrawFitPlots = true;
return 1;
}
/***************************************************************************
****/
Any ideas?
js
|