*
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "xformsBC.h"
-#include "ControlLog.h"
#include "FormLog.h"
+#include "ControlLog.h"
#include "forms/form_browser.h"
-#include "gettext.h"
-#include FORMS_H_LOCATION
-FormLog::FormLog()
- : FormCB<ControlLog, FormBrowser>( _("LaTeX Log"))
+#include "xformsBC.h"
+
+#include "lyx_forms.h"
+
+
+using std::string;
+
+
+FormLog::FormLog(Dialog & parent)
+ : FormController<ControlLog, FormBrowser>(parent, _("LaTeX Log"))
{}
string const title = buildlog ?
_("LyX: LaTeX Log") :
_("LyX: Literate Programming Build Log");
- fl_set_form_title(dialog_->form, title.c_str());
+ setTitle(title);
fl_clear_browser(dialog_->browser);
int const valid = fl_load_browser(dialog_->browser,