]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormGraphics.C
port the graphics dialog to the new scheme and get rid of the ControlInset
[lyx.git] / src / frontends / xforms / FormGraphics.C
index 7a1791d062a0939ee508dfe2e227f76ecdb84ef6..f5a29a1c8904502a063dcec2fb88b75e79d857a7 100644 (file)
@@ -55,10 +55,10 @@ string defaultUnit("cm");
 } // namespace anon
 
 
-typedef FormCB<ControlGraphics, FormDB<FD_graphics> > base_class;
+typedef FormController<ControlGraphics, FormView<FD_graphics> > base_class;
 
-FormGraphics::FormGraphics()
-       : base_class(_("Graphics"), false)
+FormGraphics::FormGraphics(Dialog & parent)
+       : base_class(parent, _("Graphics"), false)
 {}