]> git.lyx.org Git - lyx.git/blobdiff - src/minibuffer.C
change LyXScreen names to begin with lower case
[lyx.git] / src / minibuffer.C
index 3ea3b88de1f75517984b248776bb007c3e13edc7..70015b2c2ef0088445d802f8a3702cb1c06ebab5 100644 (file)
@@ -5,7 +5,7 @@
  *                 information.
  * 
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.  
+ *           Copyright 1995-2001 The LyX Team.  
  * 
  * ###########################################################################
  */
@@ -23,6 +23,7 @@
 #include "support/lyxalgo.h"
 #include "support/filetools.h"
 #include "LyXView.h"
+#include "XFormsView.h"
 #include "gettext.h"
 #include "LyXAction.h"
 #include "BufferView.h"
@@ -246,7 +247,8 @@ void MiniBuffer::prepare()
        text.erase();
        fl_set_input(the_buffer, "");
        activate();
-       fl_set_focus_object(owner_->getForm(), the_buffer);
+       fl_set_focus_object(static_cast<XFormsView *>(owner_)->getForm(),
+                           the_buffer);
 }