3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS
17 #include "xforms_helpers.h"
18 #include FORMS_H_LOCATION
21 xformsBC::xformsBC(string const & cancel, string const & close)
22 : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
26 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
28 setEnabled(obj, enabled);
32 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
34 setEnabled(obj, enabled);
38 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
40 fl_set_object_label(obj, label.c_str());