* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#include "BufferView.h"
#include "font.h"
+#include "lyxfont.h"
#include "gettext.h"
#include "inseterror.h"
#include "LyXView.h"
/* Error, used for the LaTeX-Error Messages */
-InsetError::InsetError(string const & str)
+InsetError::InsetError(string const & str, bool)
: contents(str)
{}
}
-string const InsetError::EditMessage() const
+string const InsetError::editMessage() const
{
return _("Opened error");
}
-void InsetError::Edit(BufferView * bv, int, int, unsigned int)
+void InsetError::edit(BufferView * bv, int, int, unsigned int)
{
- bv->owner()->getDialogs()->showError( this );
+ bv->owner()->getDialogs()->showError(this);
+}
+
+
+void InsetError::edit(BufferView * bv, bool)
+{
+ edit(bv, 0, 0, 0);
}