]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormERT.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormERT.C
index b9ee2f9a1639caf4f84f90e1acf7589e9fdbeea9..56deb495f5857e7fa4d6136af4bea329525295c5 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file xforms/FormERT.C
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Jürgen Vigna, jug@sad.it
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 #include "xformsBC.h"
 #include "ControlERT.h"
 #include "FormERT.h"
-#include "form_ert.h"
+#include "forms/form_ert.h"
 #include "support/lstrings.h"
 #include "helper_funcs.h"
 #include "debug.h"
+#include FORMS_H_LOCATION
 
-typedef FormCB<ControlERT, FormDB<FD_form_ert> > base_class;
+typedef FormCB<ControlERT, FormDB<FD_ert> > base_class;
 
-FormERT::FormERT(ControlERT & c)
-       : base_class(c, _("ERT Options"))
+FormERT::FormERT()
+       : base_class(_("ERT Options"))
 {}
 
 
 void FormERT::build()
 {
-       dialog_.reset(build_ert());
+       dialog_.reset(build_ert(this));
 
        // Manage the ok, apply and cancel/close buttons
        bc().setOK(dialog_->button_ok);