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"
32 * This class implements the dialog to show error messages.
34 class FormError : public FormCB<ControlError> {
37 FormError(ControlError & c);
49 /// Returns true if the dialog input is in a valid state.
50 bool validate() const { return true; }
53 void CloseClicked() { CancelButton(); }
55 /// generated by accessors.py
56 Gtk::Button * button_close() const;
57 /// generated by accessors.py
58 Gtk::Text * textarea() const;