]> git.lyx.org Git - features.git/commitdiff
Do it right!
authorAngus Leeming <leeming@lyx.org>
Mon, 10 Sep 2001 12:37:00 +0000 (12:37 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 10 Sep 2001 12:37:00 +0000 (12:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2718 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/FormMathsBitmap.C

index aadd9c8f9bcbdfb05c746f80087cda164250093a..a28f5eee5ee629f943c5533fa5f28a8a20171b1f 100644 (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);