]> 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 11a418e0100c2d46b6fca5c0e2a4585dfde9313f..0209b50dede9c86fee90b85113e9d3428212c815 100644 (file)
@@ -15,7 +15,7 @@
 
 #if wxUSE_HTML && wxUSE_STREAMS
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
     #include "wx/wxcrtvararg.h"
 #endif
 
@@ -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