lyx_mirror/src/frontends/xforms/FormBrowser.C
Angus Leeming ccb3cb54e5 Clean fix for Michael's reported bug with the character dialog. Occurred
because build() is called from the controller meaning that minw_ etc
were not reset.

Fix to citation dialog; the style should now remain centred within the frame.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2607 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 13:48:40 +00:00

27 lines
486 B
C

/* FormBrowser.C
* (C) 2001 LyX Team
* John Levon, moz@compsoc.man.ac.uk
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "FormBrowser.h"
#include "form_browser.h"
#include "xformsBC.h"
FormBrowser::FormBrowser(ControlButtons & c, string const & t, bool allowResize)
: FormDB<FD_form_browser>(c, t, allowResize)
{}
void FormBrowser::build()
{
dialog_.reset(build_browser());
// Manage the close button
bc().setCancel(dialog_->button_close);
}