]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_tables.cpp
Add GtkSortableIface stubs
[wxWidgets.git] / src / html / m_tables.cpp
index 7f965d7e0c1c3dd5cf1c741a21fc617c0a2fe3be..0209b50dede9c86fee90b85113e9d3428212c815 100644 (file)
@@ -15,7 +15,8 @@
 
 #if wxUSE_HTML && wxUSE_STREAMS
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
+    #include "wx/wxcrtvararg.h"
 #endif
 
 #include "wx/html/forcelnk.h"
@@ -136,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