added scrollbars to the canvas
authorladanyi
Thu, 27 Apr 2006 13:10:23 +0000
changeset 2066b72fe5e2631a
parent 2065 780e27579198
child 2067 cd414bfbe38b
added scrollbars to the canvas
gui/nbtab.cc
     1.1 --- a/gui/nbtab.cc	Thu Apr 27 12:20:09 2006 +0000
     1.2 +++ b/gui/nbtab.cc	Thu Apr 27 13:10:23 2006 +0000
     1.3 @@ -2,8 +2,10 @@
     1.4  
     1.5  NoteBookTab::NoteBookTab():mapwinexists(false)
     1.6  {
     1.7 +  Gtk::ScrolledWindow *pScrolledWindow = manage(new Gtk::ScrolledWindow);
     1.8    gd_canvas=new GraphDisplayerCanvas(*this);
     1.9 -  add(*gd_canvas);
    1.10 +  pScrolledWindow->add(*gd_canvas);
    1.11 +  add(*pScrolledWindow);
    1.12  
    1.13    //connecting signals - controller character
    1.14    mapstorage.signal_prop_ch().connect(sigc::mem_fun(*gd_canvas, &GraphDisplayerCanvas::propertyChange));