]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed bug in tables when border=0
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Oct 1999 15:24:58 +0000 (15:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Oct 1999 15:24:58 +0000 (15:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/m_tables.cpp

index a93a089c9a165076153f8a4df5c385d02efe6f92..007a09dedba48f9f1946bf6eb195407ebd51a386 100644 (file)
@@ -113,7 +113,7 @@ class wxHtmlTableCell : public wxHtmlContainerCell
 wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag)
  : wxHtmlContainerCell(parent)
 {
 wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag)
  : wxHtmlContainerCell(parent)
 {
-    m_HasBorders = tag.HasParam("BORDER");
+    m_HasBorders = (tag.HasParam("BORDER") && tag.GetParam("BORDER") != "0");
     m_ColsInfo = NULL;
     m_NumCols = m_NumRows = 0;
     m_CellInfo = NULL;
     m_ColsInfo = NULL;
     m_NumCols = m_NumRows = 0;
     m_CellInfo = NULL;