00001
00004 #ifndef _ParseErrorDialog_h
00005 #define _ParseErrorDialog_h
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include "../ParseError.h"
00016 #include "ParseErrorText.h"
00017
00018
00019
00020
00021
00022 class ParseErrorDialog
00023 : public wxDialog
00024 {
00025 public:
00026
00027
00030 ParseErrorDialog(wxWindow* pParent,
00031 wxWindowID id,
00032 const ParseError& error);
00033
00036 ~ParseErrorDialog(void);
00037
00038
00039
00040
00041
00042
00043
00044 protected:
00045 private:
00046
00047 wxStaticText* CreateErrorLabel(wxWindow* pParent,
00048 const wxString& message) const;
00049
00050 wxStaticText* mpTopLabel;
00051 wxStaticText* mpErrorLabel;
00052 ParseErrorText* mpInputErrorLabel;
00053
00054 static const unsigned mMessageWrapWidth;
00055 };
00056
00057
00058
00059
00060
00061
00062
00063 #endif // _ParseErrorDialog_h