3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author John Levon, moz@compsoc.man.ac.uk
12 #pragma implementation
15 #include "FormBrowser.h"
16 #include "forms/form_browser.h"
19 FormBrowser::FormBrowser(ControlButtons & c, Dialogs & d,
20 string const & t, bool allowResize)
21 : FormDB<FD_browser>(c, d, t, allowResize)
25 void FormBrowser::build()
27 dialog_.reset(build_browser(this));
29 // Manage the close button
30 bc().setCancel(dialog_->button_close);