]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fboxinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_fboxinset.h
index 5527b1cfa6cfddd5228830112bdd7ac458fff039..405a7c5b2782c6abc02829f6b3a742b539ed212c 100644 (file)
 #include "math_nestinset.h"
 
 
-class latexkeys;
-
-/// Extra nesting
+/// Non-AMS-style frame
 class MathFboxInset : public MathNestInset {
 public:
        ///
        MathFboxInset();
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        mode_type currentMode() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -36,6 +32,8 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif