]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetBox.h
index d65268f82795a00ecf6c56edef9c56a3e4c2e7a8..7f3ea8465786814c998aa1f3f86b577baf3eb3cc 100644 (file)
@@ -76,7 +76,7 @@ public:
        /// show the Box dialog
        bool showInsetDialog(BufferView * bv) const;
        ///
-       bool display() const { return false; }
+       DisplayType display() const { return Inline; }
        ///
        bool forceDefaultParagraphs(idx_type) const;
        ///
@@ -114,7 +114,7 @@ protected:
 private:
        friend class InsetBoxParams;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// used by the constructors
        void init();