1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
11 * \author Allan Rae, rae@lyx.org
12 * \author Angus Leeming, a.leeming@ic.ac.uk
13 * \author Baruch Even, baruch.even@writeme.com
19 #pragma implementation
23 #include "xforms_helpers.h"
25 xformsBC::xformsBC(string const & cancel, string const & close)
26 : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
30 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
32 setEnabled(obj, enabled);
36 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
38 setEnabled(obj, enabled);
42 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
44 fl_set_object_label(obj, label.c_str());