20#ifndef WX_HTML_REPORT_BOX_H
21#define WX_HTML_REPORT_BOX_H
35 const wxPoint& pos = wxDefaultPosition,
36 const wxSize& size = wxSize( 500,300 ),
long style = wxTAB_TRAVERSAL );
Add dark theme support to wxHtmlWindow.
A pure virtual class used to derive REPORTER objects from.
A slimmed down version of WX_HTML_REPORT_PANEL.
void onMenuEvent(wxMenuEvent &event)
void onRightClick(wxMouseEvent &event)
std::vector< wxString > m_messages
void Clear()
Delete the stored messages.
EDA_UNITS m_units
Indicates messages should be flushed as they are added.
void SetImmediateMode()
In immediate mode, messages are flushed as they are added.
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
bool m_immediateMode
copy of the report, stored for filtering
EDA_UNITS GetUnits() const override
void SetUnits(EDA_UNITS aUnits)
void Flush()
Build the HTML messages page.
bool HasMessage() const override
Returns true if the reporter client is non-empty.
wxString generateHtml(const wxString &aLine)
void onThemeChanged(wxSysColourChangedEvent &aEvent)