]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrameBox.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathFrameBox.h
index 2034e5b375acf9200b61cc0b85c3a87add2a9e53..fc38c0bd262f811ade9daae2f64320369b30e25f 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetMathFrameBox();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -34,7 +34,7 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };