Do it right!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-09-10 12:37:00 +00:00
parent 5bca243109
commit 698d6be4e4

View File

@ -82,7 +82,8 @@ void FormMathsBitmap::build()
x_ = (form_->w - 90) / 2;
y_ += 10;
obj = fl_add_button(FL_NORMAL_BUTTON, x_, y_, 90, 30, idex(_(label)));
FL_OBJECT * button_cancel = obj =
fl_add_button(FL_NORMAL_BUTTON, x_, y_, 90, 30, idex(_(label)));
fl_add_object(form_.get(), obj);
fl_set_button_shortcut(obj, scex(_(label)), 1);
fl_set_object_lsize(obj, FL_NORMAL_SIZE);