1.1 --- a/gui/mapselector.cc Fri Oct 21 08:34:47 2005 +0000
1.2 +++ b/gui/mapselector.cc Fri Oct 21 13:32:12 2005 +0000
1.3 @@ -1,6 +1,6 @@
1.4 #include "mapselector.h"
1.5
1.6 -MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, MapWin & mapw, int identifier, bool edge):gdc(grdispc),ms(mapst),mw(mapw),id(identifier),itisedge(edge),default_state(true),node_to_update(INVALID),edge_to_update(INVALID)
1.7 +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),node_to_update(INVALID),edge_to_update(INVALID)
1.8 {
1.9 update_list();
1.10
1.11 @@ -34,6 +34,11 @@
1.12
1.13 newbut=new Gtk::Button(Gtk::Stock::NEW);
1.14
1.15 + newbut->signal_pressed().connect
1.16 + (
1.17 + sigc::mem_fun(nmw, &NewMapWin::show)
1.18 + );
1.19 +
1.20 add(*label);
1.21
1.22 add(cbt);