X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25c71cccb5da62d2e56668030d7947d5219aaebc..3b96fc2f1b64f78bba7c755a5c14f618962f696b:/src/html/m_tables.cpp diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index 6c9d5062d5..ea4491ac59 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -4,13 +4,9 @@ // Author: Vaclav Slavik // RCS-ID: $Id$ // Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" @@ -350,7 +346,7 @@ void wxHtmlTableCell::AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag) void wxHtmlTableCell::ComputeMinMaxWidths() { - if (m_NumCols == 0 || m_ColsInfo[0].minWidth != -1) return; + if (m_NumCols == 0 || m_ColsInfo[0].minWidth != wxDefaultCoord) return; m_MaxTotalWidth = 0; int percentage = 0; @@ -700,7 +696,7 @@ TAG_HANDLER_BEGIN(TABLE, "TABLE,TR,TD,TH") m_WParser->CloseContainer(); m_Table = oldt; - return TRUE; + return true; } @@ -744,7 +740,7 @@ TAG_HANDLER_BEGIN(TABLE, "TABLE,TR,TD,TH") m_WParser->OpenContainer(); } } - return FALSE; + return false; } TAG_HANDLER_END(TABLE)