using std::endl;
-InsetButton::InsetButton()
-{
-}
-
int InsetButton::ascent(BufferView * bv, LyXFont const &) const
{
LyXFont font(LyXFont::ALL_SANE);
int width, ascent, descent;
string s = getScreenLabel();
+ //if (!bv)
+ // int(s.length());
if (Editable()) {
bv->painter().buttonText(0, 0, s, font,