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
16 #pragma implementation
20 #include "xforms_helpers.h"
21 #include FORMS_H_LOCATION
24 xformsBC::xformsBC(string const & cancel, string const & close)
25 : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
29 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
31 setEnabled(obj, enabled);
35 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
37 setEnabled(obj, enabled);
41 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
43 fl_set_object_label(obj, label.c_str());