]> git.saurik.com Git - wxWidgets.git/blame - src/html/m_style.cpp
Conditional compilation fix.
[wxWidgets.git] / src / html / m_style.cpp
CommitLineData
c44fdc94
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: m_style.cpp
3// Purpose: wxHtml module for parsing <style> tag
4// Author: Vaclav Slavik
5// RCS-ID: $Id$
6// Copyright: (c) 2002 Vaclav Slavik
65571936 7// Licence: wxWindows licence
c44fdc94
VS
8/////////////////////////////////////////////////////////////////////////////
9
14f355c2 10#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c44fdc94
VS
11#pragma implementation
12#endif
13
14#include "wx/wxprec.h"
15
16
17#include "wx/defs.h"
18#if wxUSE_HTML && wxUSE_STREAMS
19
2b5f62a0 20#ifdef __BORLANDC__
c44fdc94
VS
21#pragma hdrstop
22#endif
23
24#ifndef WXPRECOMP
25#endif
26
27#include "wx/html/forcelnk.h"
28#include "wx/html/m_templ.h"
29
30FORCE_LINK_ME(m_style)
31
32
33TAG_HANDLER_BEGIN(STYLE, "STYLE")
fc7a2a60 34 TAG_HANDLER_CONSTR(STYLE) { }
c44fdc94 35
574c939e 36 TAG_HANDLER_PROC(WXUNUSED(tag))
c44fdc94
VS
37 {
38 // VS: Ignore styles for now. We must have this handler present,
39 // because CSS style text would be rendered verbatim otherwise
40 return TRUE;
41 }
42
43TAG_HANDLER_END(STYLE)
44
45
46TAGS_MODULE_BEGIN(StyleTag)
47
48 TAGS_MODULE_ADD(STYLE)
49
50TAGS_MODULE_END(StyleTag)
51
52#endif