home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / src / html / m_style.cpp < prev    next >
C/C++ Source or Header  |  2002-11-09  |  1KB  |  52 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        m_style.cpp
  3. // Purpose:     wxHtml module for parsing <style> tag
  4. // Author:      Vaclav Slavik
  5. // RCS-ID:      $Id: m_style.cpp,v 1.2.2.3 2002/11/09 00:07:35 VS Exp $
  6. // Copyright:   (c) 2002 Vaclav Slavik
  7. // Licence:     wxWindows Licence
  8. /////////////////////////////////////////////////////////////////////////////
  9.  
  10. #ifdef __GNUG__
  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.  
  20. #ifdef __BORLANDC__
  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.  
  30. FORCE_LINK_ME(m_style)
  31.  
  32.  
  33. TAG_HANDLER_BEGIN(STYLE, "STYLE")
  34.  
  35.     TAG_HANDLER_PROC(WXUNUSED(tag))
  36.     {
  37.         // VS: Ignore styles for now. We must have this handler present,
  38.         //     because CSS style text would be rendered verbatim otherwise
  39.         return TRUE;
  40.     }
  41.  
  42. TAG_HANDLER_END(STYLE)
  43.  
  44.  
  45. TAGS_MODULE_BEGIN(StyleTag)
  46.  
  47.     TAGS_MODULE_ADD(STYLE)
  48.  
  49. TAGS_MODULE_END(StyleTag)
  50.  
  51. #endif
  52.