1.1 --- a/mw-mapselector.cc Mon Nov 21 12:07:05 2005 +0000
1.2 +++ b/mw-mapselector.cc Mon Nov 21 18:03:20 2005 +0000
1.3 @@ -1,6 +1,6 @@
1.4 #include "map_win.h"
1.5
1.6 -MapWin::MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, NewMapWin & newmapw, int identifier, bool edge):gdc(grdispc),ms(mapst),nmw(newmapw),id(identifier),itisedge(edge),default_state(true),set_new_map(false),node_to_update(INVALID),edge_to_update(INVALID)
1.7 +MapWin::MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, int identifier, bool edge):gdc(grdispc),ms(mapst),id(identifier),itisedge(edge),default_state(true),set_new_map(false),node_to_update(INVALID),edge_to_update(INVALID)
1.8 {
1.9 update_list();
1.10
1.11 @@ -50,7 +50,7 @@
1.12 void MapWin::MapSelector::new_but_pressed()
1.13 {
1.14 set_new_map=true;
1.15 - nmw.showByPreChoose(itisedge);
1.16 + (new NewMapWin("NewMapWin", gdc, itisedge, false))->run();
1.17 }
1.18
1.19 void MapWin::MapSelector::update_list()