]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBrowser.C
095dd66096b6b10ee4abfff338c093dbb07dc597
[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 #include "FormBrowser.h"
14 #include "forms/form_browser.h"
15 #include "xformsBC.h"
16
17
18 FormBrowser::FormBrowser(Dialog & parent,
19                          string const & title, bool allowResize)
20         : FormView<FD_browser>(parent, title, allowResize)
21 {}
22
23
24 void FormBrowser::build()
25 {
26         dialog_.reset(build_browser(this));
27
28         // Manage the close button
29         bcview().setCancel(dialog_->button_close);
30 }