Use the system text color in WX_HTML_REPORT_PANEL.
This commit is contained in:
parent
66aa22c1db
commit
3adf12344a
|
@ -88,7 +88,9 @@ void WX_HTML_REPORT_PANEL::refreshView()
|
||||||
wxString WX_HTML_REPORT_PANEL::addHeader( const wxString& aBody )
|
wxString WX_HTML_REPORT_PANEL::addHeader( const wxString& aBody )
|
||||||
{
|
{
|
||||||
wxColour bgcolor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW );
|
wxColour bgcolor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW );
|
||||||
wxString s = "<html><body bgcolor=\"" + bgcolor.GetAsString( wxC2S_HTML_SYNTAX ) + "\">";
|
wxColour fgcolor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
|
||||||
|
wxString s = "<html><body bgcolor=\"" + bgcolor.GetAsString( wxC2S_HTML_SYNTAX ) +
|
||||||
|
"\" text=\"" + fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) + "\">";
|
||||||
s += aBody;
|
s += aBody;
|
||||||
s += "</body></html>";
|
s += "</body></html>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue