20#ifndef WX_HTML_REPORT_BOX_H
21#define WX_HTML_REPORT_BOX_H
36 const wxPoint& pos = wxDefaultPosition,
37 const wxSize& size = wxSize( 500,300 ),
long style = wxTAB_TRAVERSAL );
65 void Clear()
override;
70 wxString generateHtml(
const wxString& aLine );
HTML_WINDOW(wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=wxHW_DEFAULT_STYLE, const wxString &aName=wxT("htmlWindow"))
void onThemeChanged(wxSysColourChangedEvent &aEvent)
virtual REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
Report a string with a given severity.
std::vector< wxString > m_messages
copy of the report, stored for filtering.
void SetImmediateMode()
In immediate mode, messages are flushed as they are added.
bool m_immediateMode
Indicates messages should be flushed as they are added.
EDA_UNITS GetUnits() const override
void SetUnits(EDA_UNITS aUnits)
WX_HTML_REPORT_BOX(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
bool HasMessage() const override
Returns true if any messages were reported.