]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBinom.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathBinom.h
index 80ed9473f635a23c9fbea86fbc7d9ee55641e858..d3dd51a289285ab364649c4b1447d7c583638895 100644 (file)
@@ -31,10 +31,13 @@ public:
        bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
+       /// draw decorations.
+       void drawDecoration(PainterInfo & pi, int x, int y) const
+       { drawMarkers2(pi, x, y); }
        ///
        bool extraBraces() const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        int dw() const;
        ///