]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormMinipage.C
index 4187f23468adb14e2ace52a7d17029270fb28811..ef1c3efd4aa667bf85eda3c6f092bc5cfcf7b990 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file FormMinipage.C
- * Copyright 2000-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>
@@ -24,8 +26,8 @@
 
 typedef FormCB<ControlMinipage, FormDB<FD_minipage> > base_class;
 
-FormMinipage::FormMinipage(ControlMinipage & c)
-       : base_class(c, _("Minipage Options"))
+FormMinipage::FormMinipage()
+       : base_class(_("Minipage Options"))
 {}
 
 
@@ -106,7 +108,7 @@ ButtonPolicy::SMInput FormMinipage::input(FL_OBJECT * ob, long)
        // disallow senseless data
        // warnings if input is senseless
        if (ob == dialog_->input_width) {
-               string const input = getStringFromInput(dialog_->input_width);
+               string const input = getString(dialog_->input_width);
                bool const invalid = !isValidLength(input) && !isStrDbl(input);
                if (invalid) {
                        postWarning(_("Invalid Length!"));