X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..44580804c2b478ebd36f59c9b416be560c4ef5bf:/src/html/m_style.cpp?ds=sidebyside diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp index 9913b83703..4002438bed 100644 --- a/src/html/m_style.cpp +++ b/src/html/m_style.cpp @@ -1,27 +1,21 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: m_style.cpp +// Name: src/html/m_style.cpp // Purpose: wxHtml module for parsing <style> tag // Author: Vaclav Slavik // RCS-ID: $Id$ // Copyright: (c) 2002 Vaclav Slavik -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" - -#include "wx/defs.h" -#if wxUSE_HTML && wxUSE_STREAMS - #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#ifndef WXPRECOMP +#if wxUSE_HTML && wxUSE_STREAMS + +#ifndef WX_PRECOMP #endif #include "wx/html/forcelnk.h" @@ -31,12 +25,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)