]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_tables.cpp
Add accelerator back to label in GetItemLabel
[wxWidgets.git] / src / html / m_tables.cpp
index 54f62b5d108b3379a590a681674e694a054faba2..0209b50dede9c86fee90b85113e9d3428212c815 100644 (file)
@@ -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