]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_frameboxinset.h
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_frameboxinset.h
index e7adbdd52fe3ff536f0ce8120a6f18cdbacf1f5e..7c7ea77b00d7f9356cf0a2c491d79ff56f1774e4 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        MathFrameboxInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -33,6 +31,7 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };