]>
git.saurik.com Git - wxWidgets.git/blob - 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 
   6 // Copyright:   (c) 2002 Vaclav Slavik 
   7 // Licence:     wxWindows licence 
   8 ///////////////////////////////////////////////////////////////////////////// 
  10 #include "wx/wxprec.h" 
  16 #if wxUSE_HTML && wxUSE_STREAMS 
  21 #include "wx/html/forcelnk.h" 
  22 #include "wx/html/m_templ.h" 
  24 FORCE_LINK_ME(m_style
) 
  27 TAG_HANDLER_BEGIN(STYLE
, "STYLE") 
  28     TAG_HANDLER_CONSTR(STYLE
) { } 
  30     TAG_HANDLER_PROC(WXUNUSED(tag
)) 
  32         // VS: Ignore styles for now. We must have this handler present, 
  33         //     because CSS style text would be rendered verbatim otherwise 
  37 TAG_HANDLER_END(STYLE
) 
  40 TAGS_MODULE_BEGIN(StyleTag
) 
  42     TAGS_MODULE_ADD(STYLE
) 
  44 TAGS_MODULE_END(StyleTag
)