]> git.saurik.com Git - wxWidgets.git/blob - src/html/m_style.cpp
Fix setting the clipping region for a DC when the region is an
[wxWidgets.git] / src / html / m_style.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/html/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 #ifdef __BORLANDC__
13 #pragma hdrstop
14 #endif
15
16 #if wxUSE_HTML && wxUSE_STREAMS
17
18 #ifndef WXPRECOMP
19 #endif
20
21 #include "wx/html/forcelnk.h"
22 #include "wx/html/m_templ.h"
23
24 FORCE_LINK_ME(m_style)
25
26
27 TAG_HANDLER_BEGIN(STYLE, "STYLE")
28 TAG_HANDLER_CONSTR(STYLE) { }
29
30 TAG_HANDLER_PROC(WXUNUSED(tag))
31 {
32 // VS: Ignore styles for now. We must have this handler present,
33 // because CSS style text would be rendered verbatim otherwise
34 return true;
35 }
36
37 TAG_HANDLER_END(STYLE)
38
39
40 TAGS_MODULE_BEGIN(StyleTag)
41
42 TAGS_MODULE_ADD(STYLE)
43
44 TAGS_MODULE_END(StyleTag)
45
46 #endif