]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
static_cast-based key/mouse-state. Kill insetKeyPress.
[lyx.git] / src / insets / insetgraphics.h
index 78f6a73fa74391a65a6bca8a73768c654f251e60..d7920f402ec91564f50c130b123f053b7bc305f4 100644 (file)
@@ -19,8 +19,8 @@
 #pragma interface
 #endif
 
-#include "graphics/GraphicsTypes.h"
 #include "insets/inset.h"
+#include "graphics/GraphicsTypes.h"
 #include "insets/insetgraphicsParams.h"
 // We need a signal here to hide an active dialog when we are deleted.
 #include "sigc++/signal_system.h"
@@ -47,7 +47,7 @@ public:
        ///
        void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
-       void edit(BufferView *, int, int, unsigned int);
+       void edit(BufferView *, int, int, mouse_button::state);
        ///
        void edit(BufferView * bv, bool front = true);
        ///