- MathGridInset::draw(pain, x, y);
- if (mathcursor && mathcursor->isInside(this)) {
- pain.rectangle(x - 1, y - ascent() - 1, width(), height(),
- LColor::mathframe);
- }
+ MathFontSetChanger dummy(pi.base, "textnormal");
+ MathGridInset::draw(pi, x, y);
+ mathed_draw_framebox(pi, x, y, this);