2009-07-13 06:20:18 +00:00
|
|
|
#ifndef __dialog_load_error_h_
|
|
|
|
#define __dialog_load_error_h_
|
|
|
|
|
|
|
|
/**
|
|
|
|
@file
|
|
|
|
Subclass of DIALOG_DISPLAY_HTML_TEXT_BASE, which is generated by wxFormBuilder.
|
|
|
|
*/
|
|
|
|
|
2010-11-20 10:59:59 +00:00
|
|
|
#include "../common/dialogs/dialog_display_info_HTML_base.h"
|
2009-07-13 06:20:18 +00:00
|
|
|
|
|
|
|
/** Implementing DIALOG_LOAD_ERROR */
|
|
|
|
class DIALOG_LOAD_ERROR : public DIALOG_DISPLAY_HTML_TEXT_BASE
|
|
|
|
{
|
|
|
|
protected:
|
2010-11-12 15:17:10 +00:00
|
|
|
// Handlers for DIALOG_LOAD_ERROR_BASE events.
|
|
|
|
void OnCloseButtonClick( wxCommandEvent& event );
|
2009-07-13 06:20:18 +00:00
|
|
|
|
|
|
|
public:
|
2010-11-12 15:17:10 +00:00
|
|
|
/** Constructor */
|
|
|
|
DIALOG_LOAD_ERROR( wxWindow* parent );
|
2010-10-05 19:54:27 +00:00
|
|
|
|
2010-11-12 15:17:10 +00:00
|
|
|
/**
|
|
|
|
* Function ListSet
|
2009-07-13 06:20:18 +00:00
|
|
|
* Add a list of items.
|
2011-01-01 17:28:21 +00:00
|
|
|
* @param aList = a string containing items. Items are separated by '\n'
|
2009-07-13 06:20:18 +00:00
|
|
|
*/
|
2011-01-01 17:28:21 +00:00
|
|
|
void ListSet(const wxString &aList);
|
2010-11-12 15:17:10 +00:00
|
|
|
/**
|
|
|
|
* Function ListSet
|
2010-10-05 19:54:27 +00:00
|
|
|
* Add a list of items.
|
2011-01-01 17:28:21 +00:00
|
|
|
* @param aList = a wxArrayString containing items.
|
2010-10-05 19:54:27 +00:00
|
|
|
*/
|
2011-01-01 17:28:21 +00:00
|
|
|
void ListSet(const wxArrayString &aList);
|
2010-10-05 19:54:27 +00:00
|
|
|
|
2010-11-12 15:17:10 +00:00
|
|
|
void ListClear();
|
|
|
|
/**
|
|
|
|
* Function MessageSet
|
2009-07-13 06:20:18 +00:00
|
|
|
* Add a message (in bold) to message list.
|
2009-07-13 07:01:57 +00:00
|
|
|
* @param message = the message
|
2009-07-13 06:20:18 +00:00
|
|
|
*/
|
2010-11-12 15:17:10 +00:00
|
|
|
void MessageSet(const wxString &message);
|
2009-07-13 06:20:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __dialog_load_error_h_
|