X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FGUIRunTime.C;h=13dd471b58444c1a1d3d75e16dee4ed4ef99de3e;hb=b9d61343fc76a681b0264d65703ef2119647df56;hp=a4bbf54c340364f7eb2bdd22ad8e77a1a6c09af7;hpb=0c2a3e5960f032dcd8be726e3e63628207a06dd3;p=lyx.git diff --git a/src/frontends/xforms/GUIRunTime.C b/src/frontends/xforms/GUIRunTime.C index a4bbf54c34..13dd471b58 100644 --- a/src/frontends/xforms/GUIRunTime.C +++ b/src/frontends/xforms/GUIRunTime.C @@ -1,4 +1,3 @@ -// -*- C++ -*- /* This file is part of * ====================================================== * @@ -17,6 +16,7 @@ #endif #include "GUIRunTime.h" +#include "XFormsView.h" #include "debug.h" // I keep these here so that it will be processed as early in @@ -111,3 +111,9 @@ void GUIRunTime::setDefaults() | FL_PDMenuFontSize | FL_PDBorderWidth, &cntl); } + + +LyXView * GUIRunTime::createMainView(int w, int h) +{ + return new XFormsView(w, h); +}