apply the table bg colour between the cells too (patch 1713170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,6 +164,7 @@ All (GUI):
|
|||||||
- Allow status bar children in XRC (Edmunt Pienkowski)
|
- Allow status bar children in XRC (Edmunt Pienkowski)
|
||||||
- Fix memory leak in wxWizard when not using sizers for the page layout
|
- Fix memory leak in wxWizard when not using sizers for the page layout
|
||||||
- Added wxListCtrl::SetItemPtrData()
|
- Added wxListCtrl::SetItemPtrData()
|
||||||
|
- wxHTML: Apply table background colour between the cells too (Michael Hieke)
|
||||||
|
|
||||||
wxMSW:
|
wxMSW:
|
||||||
|
|
||||||
|
@@ -137,7 +137,11 @@ wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& t
|
|||||||
|
|
||||||
/* scan params: */
|
/* scan params: */
|
||||||
if (tag.HasParam(wxT("BGCOLOR")))
|
if (tag.HasParam(wxT("BGCOLOR")))
|
||||||
|
{
|
||||||
tag.GetParamAsColour(wxT("BGCOLOR"), &m_tBkg);
|
tag.GetParamAsColour(wxT("BGCOLOR"), &m_tBkg);
|
||||||
|
if (m_tBkg.Ok())
|
||||||
|
SetBackgroundColour(m_tBkg);
|
||||||
|
}
|
||||||
if (tag.HasParam(wxT("VALIGN")))
|
if (tag.HasParam(wxT("VALIGN")))
|
||||||
m_tValign = tag.GetParam(wxT("VALIGN"));
|
m_tValign = tag.GetParam(wxT("VALIGN"));
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user