]> git.saurik.com Git - wxWidgets.git/blob - src/html/m_style.cpp
Replace deprecated wxNB_* flags with wxBK_* used in last commit.
[wxWidgets.git] / src / html / m_style.cpp
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
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #include "wx/wxprec.h"
11
12 #include "wx/defs.h"
13 #if wxUSE_HTML && wxUSE_STREAMS
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #ifndef WXPRECOMP
20 #endif
21
22 #include "wx/html/forcelnk.h"
23 #include "wx/html/m_templ.h"
24
25 FORCE_LINK_ME(m_style)
26
27
28 TAG_HANDLER_BEGIN(STYLE, "STYLE")
29 TAG_HANDLER_CONSTR(STYLE) { }
30
31 TAG_HANDLER_PROC(WXUNUSED(tag))
32 {
33 // VS: Ignore styles for now. We must have this handler present,
34 // because CSS style text would be rendered verbatim otherwise
35 return true;
36 }
37
38 TAG_HANDLER_END(STYLE)
39
40
41 TAGS_MODULE_BEGIN(StyleTag)
42
43 TAGS_MODULE_ADD(STYLE)
44
45 TAGS_MODULE_END(StyleTag)
46
47 #endif