#include <sstream>
+using namespace std;
namespace lyx {
-using std::string;
CommandInset::CommandInset(docstring const & name)
: InsetMathNest(2), name_(name), set_label_(false)
button_.update(screenLabel(), true);
}
button_.metrics(mi, dim);
- dim_ = dim;
+ // Cache the inset dimension.
+ setDimCache(mi, dim);
}