]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBrowser.C
Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
[lyx.git] / src / frontends / xforms / FormBrowser.C
1 // -*- C++ -*-
2 /* FormBrowser.C
3  * (C) 2001 LyX Team
4  * John Levon, moz@compsoc.man.ac.uk
5  */
6
7 #ifdef __GNUG__
8 #pragma implementation
9 #endif
10
11 #include <config.h>
12 #include "FormBrowser.h"
13 #include "form_browser.h"
14 #include "xformsBC.h"
15
16 FormBrowser::FormBrowser(ControlButtons & c, string const & t)
17         : FormDB<FD_form_browser>(c, t)
18 {}
19         
20
21 void FormBrowser::build()
22 {
23         dialog_.reset(build_browser());
24
25         // Manage the close button
26         bc().setCancel(dialog_->button_close);
27 }