]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbib.h
static_cast-based key/mouse-state. Kill insetKeyPress.
[lyx.git] / src / insets / insetbib.h
index e1de692e35a98fd826d427cfdabd1e0d47e1fcef..2606948f598bba7895d7bbcd99d31afba7e1bf79 100644 (file)
@@ -43,7 +43,7 @@ public:
        ///
        virtual string const getScreenLabel(Buffer const *) const;
        ///
-       void edit(BufferView *, int x, int y, unsigned int button);
+       void edit(BufferView *, int x, int y, mouse_button::state button);
        ///
        void edit(BufferView * bv, bool front = true);
        ///
@@ -93,7 +93,7 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::BIBTEX_CODE; }
        ///
-       void edit(BufferView *, int x, int y, unsigned int button);
+       void edit(BufferView *, int x, int y, mouse_button::state button);
        ///
        void edit(BufferView * bv, bool front = true);
        ///