3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author Allan Rae, rae@lyx.org
7 * \author Angus Leeming, a.leeming@ic.ac.uk
8 * \author Baruch Even, baruch.even@writeme.com
14 #pragma implementation
18 #include "xforms_helpers.h"
19 #include FORMS_H_LOCATION
22 xformsBC::xformsBC(string const & cancel, string const & close)
23 : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
27 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
29 setEnabled(obj, enabled);
33 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
35 setEnabled(obj, enabled);
39 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
41 fl_set_object_label(obj, label.c_str());