]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / CommandInset.h
index bac6ddcbe1cb99634d5ccbc25e27121e12bd0283..28d46bce94736b0c7985d5981a3ae189706217b3 100644 (file)
@@ -31,7 +31,7 @@ public:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       InsetBase * editXY(LCursor &, int, int);
+       Inset * editXY(Cursor &, int, int);
        ///
        void write(WriteStream & os) const;
        //
@@ -40,8 +40,11 @@ public:
        virtual docstring const screenLabel() const;
        ///
        docstring const & commandname() const { return name_; }
+       ///
+       bool isActive() const { return false; }
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 
        ///
        docstring name_;