map_win.cc
branchgui
changeset 90 e9f8f44f12a3
parent 85 0b2217328320
child 94 adfdc2f70548
     1.1 --- a/map_win.cc	Mon Nov 21 12:07:05 2005 +0000
     1.2 +++ b/map_win.cc	Mon Nov 21 18:03:20 2005 +0000
     1.3 @@ -10,7 +10,7 @@
     1.4    return true;
     1.5  }
     1.6  
     1.7 -MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc, NewMapWin & newmapwin):gdc(grdispc),ms(mapst), nmw(newmapwin)
     1.8 +MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc):gdc(grdispc),ms(mapst)
     1.9  {
    1.10    set_title(title);
    1.11    set_default_size(200, 50);
    1.12 @@ -23,7 +23,7 @@
    1.13  
    1.14    for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    1.15    {
    1.16 -    e_combo_array[i]=new MapSelector(gdc, ms, nmw, i, true);
    1.17 +    e_combo_array[i]=new MapSelector(gdc, ms, i, true);
    1.18  
    1.19      (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
    1.20    }
    1.21 @@ -40,7 +40,7 @@
    1.22  
    1.23    for(int i=0;i<NODE_PROPERTY_NUM;i++)
    1.24    {
    1.25 -    n_combo_array[i]=new MapSelector(gdc, ms, nmw, i, false);
    1.26 +    n_combo_array[i]=new MapSelector(gdc, ms, i, false);
    1.27  
    1.28      (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
    1.29    }