]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetWrap.h
index d8f5acae931da6dc6f78566c0cdca06022196049..f56bbf19878cca2879f8b0a7dda5292602be74fc 100644 (file)
@@ -71,13 +71,15 @@ public:
        InsetWrapParams const & params() const { return params_; }
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       // Update the counters of this inset and of its contents
+       virtual void updateLabels(Buffer const &, ParIterator const &);
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        virtual docstring name() const { return name_; }
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        ///
        InsetWrapParams params_;