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"
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());