kicad/include/dialog_load_error.h

45 lines
1.1 KiB
C
Raw Normal View History

#ifndef __dialog_load_error_h_
#define __dialog_load_error_h_
/**
@file
Subclass of DIALOG_DISPLAY_HTML_TEXT_BASE, which is generated by wxFormBuilder.
*/
#include "../common/dialogs/dialog_display_info_HTML_base.h"
/** 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 );
public:
2010-11-12 15:17:10 +00:00
/** Constructor */
DIALOG_LOAD_ERROR( wxWindow* parent );
2010-11-12 15:17:10 +00:00
/**
* Function ListSet
* Add a list of items.
* @param aList = a string containing items. Items are separated by '\n'
*/
void ListSet(const wxString &aList);
2010-11-12 15:17:10 +00:00
/**
* Function ListSet
* Add a list of items.
* @param aList = a wxArrayString containing items.
*/
void ListSet(const wxArrayString &aList);
2010-11-12 15:17:10 +00:00
void ListClear();
/**
* Function MessageSet
* Add a message (in bold) to message list.
* @param message = the message
*/
2010-11-12 15:17:10 +00:00
void MessageSet(const wxString &message);
};
#endif // __dialog_load_error_h_