diff --git a/docs/changes.txt b/docs/changes.txt index b2627a29e7..18d90526da 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -164,6 +164,7 @@ All (GUI): - Allow status bar children in XRC (Edmunt Pienkowski) - Fix memory leak in wxWizard when not using sizers for the page layout - Added wxListCtrl::SetItemPtrData() +- wxHTML: Apply table background colour between the cells too (Michael Hieke) wxMSW: diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index 54f62b5d10..0209b50ded 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -137,7 +137,11 @@ wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& t /* scan params: */ if (tag.HasParam(wxT("BGCOLOR"))) + { tag.GetParamAsColour(wxT("BGCOLOR"), &m_tBkg); + if (m_tBkg.Ok()) + SetBackgroundColour(m_tBkg); + } if (tag.HasParam(wxT("VALIGN"))) m_tValign = tag.GetParam(wxT("VALIGN")); else