X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..a83ea9c15a7ac7bbdc6686164cfcbbc21ae5031a:/src/html/m_style.cpp diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp index 9913b83703..f5622376cf 100644 --- a/src/html/m_style.cpp +++ b/src/html/m_style.cpp @@ -4,10 +4,10 @@ // Author: Vaclav Slavik // RCS-ID: $Id$ // Copyright: (c) 2002 Vaclav Slavik -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation #endif @@ -31,12 +31,13 @@ FORCE_LINK_ME(m_style) TAG_HANDLER_BEGIN(STYLE, "STYLE") + TAG_HANDLER_CONSTR(STYLE) { } TAG_HANDLER_PROC(WXUNUSED(tag)) { // VS: Ignore styles for now. We must have this handler present, // because CSS style text would be rendered verbatim otherwise - return TRUE; + return true; } TAG_HANDLER_END(STYLE)