X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c44fdc9401f92025ea8ae930cd03afd01ef3ae3f..8b0d53975d0d1c973b5392e035974cb37975a138:/src/html/m_style.cpp diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp index 112bf3aff4..6f0eb8d766 100644 --- a/src/html/m_style.cpp +++ b/src/html/m_style.cpp @@ -7,7 +7,7 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation #endif @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -31,8 +31,9 @@ FORCE_LINK_ME(m_style) TAG_HANDLER_BEGIN(STYLE, "STYLE") + TAG_HANDLER_CONSTR(STYLE) { } - TAG_HANDLER_PROC(tag) + 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