]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBrowser.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormBrowser.C
1 /**
2  * \file FormBrowser.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "FormBrowser.h"
18 #include "forms/form_browser.h"
19 #include "xformsBC.h"
20
21 FormBrowser::FormBrowser(string const & t, bool allowResize)
22         : FormDB<FD_browser>(t, allowResize)
23 {}
24
25
26 void FormBrowser::build()
27 {
28         dialog_.reset(build_browser(this));
29
30         // Manage the close button
31         bc().setCancel(dialog_->button_close);
32 }