* information.
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* ###########################################################################
*/
#include "support/lyxalgo.h"
#include "support/filetools.h"
#include "LyXView.h"
+#include "XFormsView.h"
#include "gettext.h"
#include "LyXAction.h"
#include "BufferView.h"
stored_set(input);
fl_set_input(ob, _("[End of history]"));
} else {
- fl_set_input(ob, (*hist_iter).c_str());
+ fl_set_input(ob, hist_iter->c_str());
}
return 1;
case XK_Up:
fl_set_input(ob, _("[Beginning of history]"));
} else {
--hist_iter;
- fl_set_input(ob, (*hist_iter).c_str());
+ fl_set_input(ob, hist_iter->c_str());
}
return 1;
case 9:
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);
}