]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetparent.C
move inset related stuff from src/graphics to src/inset/
[lyx.git] / src / insets / insetparent.C
index f516755bd15eaf1550640e6ee44e7b1e0ec6203c..4afdbab43c51414dee5593e708ec2971738d1079 100644 (file)
@@ -20,7 +20,7 @@
 #include "insetparent.h"
 #include "support/filetools.h"
 #include "BufferView.h"
-#include "LyXView.h"
+#include "frontends/LyXView.h"
 #include "support/LOstream.h"
 #include "commandtags.h"
 #include "buffer.h"
@@ -44,8 +44,8 @@ string const InsetParent::getScreenLabel(Buffer const *) const
 }
 
 
-void InsetParent::edit(BufferView * bv, int, int, unsigned int)
-{
+void InsetParent::edit(BufferView * bv, int, int, mouse_button::state)
+{    
        bv->owner()->getLyXFunc()->
                dispatch(LFUN_CHILDOPEN, getContents());
 }
@@ -53,7 +53,7 @@ void InsetParent::edit(BufferView * bv, int, int, unsigned int)
 
 void InsetParent::edit(BufferView * bv, bool)
 {
-       edit(bv, 0, 0, 0);
+       edit(bv, 0, 0, mouse_button::none);
 }