X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/929bb9d2b3ce9d523d211ea776344e1816c720db..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/html/m_tables.cpp diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index 49c61dfe5b..07f7b61658 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -821,7 +821,11 @@ TAG_HANDLER_BEGIN(TABLE, "TABLE,TR,TD,TH") new wxHtmlFontCell(m_WParser->CreateCurrentFont())); } - CallParseInnerWithBg(tag, m_Table->GetRowDefaultBackgroundColour()); + wxColour bgCol; + if ( !tag.GetParamAsColour(wxT("BGCOLOR"), &bgCol) ) + bgCol = m_Table->GetRowDefaultBackgroundColour(); + + CallParseInnerWithBg(tag, bgCol); if ( isHeader ) {