1.1 --- a/new_map_win.h Wed Nov 30 13:24:23 2005 +0000
1.2 +++ b/new_map_win.h Tue Dec 06 10:53:38 2005 +0000
1.3 @@ -6,7 +6,7 @@
1.4 class NewMapWin;
1.5
1.6 #include <all_include.h>
1.7 -#include <main_win.h>
1.8 +#include <nbtab.h>
1.9 #include <libgnomecanvasmm.h>
1.10 #include <libgnomecanvasmm/polygon.h>
1.11 #include <stack>
1.12 @@ -16,7 +16,7 @@
1.13
1.14 class NewMapWin : public Gtk::Dialog
1.15 {
1.16 - MainWin & mainwin;
1.17 + NoteBookTab & mytab;
1.18
1.19 public:
1.20 struct tree_node
1.21 @@ -27,7 +27,7 @@
1.22 };
1.23
1.24 ///Constructor of NewMapWin creates the widgets shown in NewMapWin.
1.25 - NewMapWin(const std::string& title, MainWin &, bool itisedge=true, bool edgenode=true);
1.26 + NewMapWin(const std::string& title, NoteBookTab &, bool itisedge=true, bool edgenode=true);
1.27
1.28 ///Signal on button is connected to this function,
1.29 ///Therefore this function determines whether to