*
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-
#include "FormBrowser.h"
#include "forms/form_browser.h"
#include "xformsBC.h"
-FormBrowser::FormBrowser(string const & t, bool allowResize)
- : FormDB<FD_browser>(t, allowResize)
+
+using std::string;
+
+
+FormBrowser::FormBrowser(Dialog & parent,
+ string const & title, bool allowResize)
+ : FormView<FD_browser>(parent, title, allowResize)
{}
dialog_.reset(build_browser(this));
// Manage the close button
- bc().setCancel(dialog_->button_close);
+ bcview().setCancel(dialog_->button_close);
}