}
-auto_ptr<InsetBase> CommandInset::clone() const
+auto_ptr<InsetBase> CommandInset::doClone() const
{
return auto_ptr<InsetBase>(new CommandInset(*this));
}
}
+InsetBase * CommandInset::editXY(LCursor & cur, int /*x*/, int /*y*/)
+{
+ edit(cur, true);
+ return this;
+}
+
+
void CommandInset::draw(PainterInfo & pi, int x, int y) const
{
button_.draw(pi, x, y);