]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetBox.h
index 9f18e20c79efdc020e72109643eed272a7c53d03..79a471215412a715505fd53654837ef8c43c6dbf 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;
        ///
@@ -110,7 +110,7 @@ protected:
        /// Is the width forced to some value?
        virtual bool hasFixedWidth() const;
        ///
-       virtual docstring insetName() const { return from_ascii("Box"); }
+       virtual docstring name() const { return from_ascii("Box"); }
 private:
        friend class InsetBoxParams;