1.1 --- a/graph_displayer_canvas.cc Wed Jun 29 19:44:30 2005 +0000
1.2 +++ b/graph_displayer_canvas.cc Tue Jul 12 18:21:49 2005 +0000
1.3 @@ -2,7 +2,7 @@
1.4 #include <broken_edge.h>
1.5 #include <math.h>
1.6
1.7 -GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms, MapWin * mw):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),nodetextmap(g),displayed_graph(*(root()), 0, 0),mapstorage(ms),isbutton(0),active_item(NULL),target_item(NULL),mapwin(mw)
1.8 +GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms, MapWin * mw):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),nodetextmap(g),displayed_graph(*(root()), 0, 0),canvasentrywidget(NULL),mapstorage(ms),isbutton(0),active_item(NULL),target_item(NULL),mapwin(mw)
1.9 {
1.10
1.11 actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false);
1.12 @@ -70,6 +70,10 @@
1.13
1.14 GraphDisplayerCanvas::~GraphDisplayerCanvas()
1.15 {
1.16 + if(canvasentrywidget)
1.17 + {
1.18 + delete(canvasentrywidget);
1.19 + }
1.20
1.21 //writing out the end state of the graph
1.22 //\todo all the maps has to be write out!