]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Revert http://www.lyx.org/trac/changeset/25553 and try better fix for bug
[lyx.git] / src / insets / InsetCitation.h
index 9140dc704099961ea267a1110dedaf516c2e15b1..b0399d08981b3801fcdcc2f37db3c2061205395f 100644 (file)
@@ -54,7 +54,7 @@ public:
        ///
        void updateLabels(ParIterator const & it);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
 
        ///
        static ParamInfo const & findInfo(std::string const &);
@@ -65,6 +65,8 @@ public:
        static std::string defaultCommand() { return "cite"; }
        ///
        static bool isCompatibleCommand(std::string const & cmd);
+       ///
+       virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
 private:
        ///
        Inset * clone() const { return new InsetCitation(*this); }