Attempt to fix Borland compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
685a634c8d
commit
44d0c580e6
@ -188,10 +188,11 @@ void wxHtmlWinParser::InitParser(const wxString& source)
|
||||
#endif
|
||||
|
||||
m_Container->InsertCell(new wxHtmlColourCell(m_ActualColor));
|
||||
wxColour windowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) ;
|
||||
m_Container->InsertCell(
|
||||
new wxHtmlColourCell(GetWindow() ?
|
||||
GetWindow()->GetBackgroundColour() :
|
||||
wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW),
|
||||
windowColour,
|
||||
wxHTML_CLR_BACKGROUND));
|
||||
m_Container->InsertCell(new wxHtmlFontCell(CreateCurrentFont()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user