2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * =================================================
21 #include "ControlError.h"
22 #include "GnomeBase.h"
30 * This class implements the dialog to show error messages.
32 class FormError : public FormCB<ControlError> {
35 FormError(ControlError & c);
46 /// Returns true if the dialog input is in a valid state.
47 bool validate() const {return true;};
50 void CloseClicked() { CancelButton(); }
53 /// generated by accessors.py
54 Gtk::Button * button_close() const;
55 /// generated by accessors.py
56 Gtk::Text * textarea() const;