]> git.lyx.org Git - lyx.git/blobdiff - src/XFormsView.C
start native C++ support for Octave, Maple and MathML
[lyx.git] / src / XFormsView.C
index 8d57aa88f9e329bb2164596a50af3334737aa948..bbb2d7c820e275cfdcfaec9adc7cb4b0c5fef569 100644 (file)
@@ -100,6 +100,7 @@ void XFormsView::setPosition(int x, int y)
 
 void XFormsView::show(int place, int border, string const & title)
 {
+       fl_set_form_minsize(form_, form_->w, form_->h);
        fl_show_form(form_, place, border, title.c_str());
        getLyXFunc()->initMiniBuffer();
 #if FL_REVISION < 89 || (FL_REVISION == 89 && FL_FIXLEVEL < 5)
@@ -189,6 +190,8 @@ void XFormsView::create_form_form_main(int width, int height)
        fl_set_form_minsize(form_, 50, 50);
        
        fl_end_form();
+
+       minibuffer->dd_init(); 
 }