From b0bdbbfe1113bc414c9da03ad8139535af873b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 10 Jul 2001 22:38:21 +0000 Subject: [PATCH] fixes for tables renderer: now recognizes missing border property correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/m_tables.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index e6505e6898..b7ff14f6cb 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -118,7 +118,8 @@ wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& t : wxHtmlContainerCell(parent) { m_PixelScale = pixel_scale; - m_HasBorders = (tag.GetParam(wxT("BORDER")) != wxT("0")); + m_HasBorders = + (tag.HasParam(wxT("BORDER")) && tag.GetParam(wxT("BORDER")) != wxT("0")); m_ColsInfo = NULL; m_NumCols = m_NumRows = 0; m_CellInfo = NULL;