Added wxDisplayChangedEvent and triggering in MSW, when display mode changes this event gets triggered. I don't know what should happen with other OS's since I am not familiar with how they handle mode changes. Watcome Version 11 now compiles with wide character support. Fixed watcom warnings in html/htmlwin.h imagbmp.h listctrl.h imagbmp.cpp quantize.cpp strconv.cpp variant.cpp dirctrlg.cpp treectlg.cpp m_style.cpp fontenum.cpp listctrl.cpp ole\dataobj.cpp textctrl.cpp window.cpp xml.cpp msw/setup.h with watcom version 11 it now compiles with wide character support. xrc/xml.cpp fixed memory leak and compile warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
52 lines
1014 B
C++
52 lines
1014 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: m_style.cpp
|
|
// Purpose: wxHtml module for parsing <style> tag
|
|
// Author: Vaclav Slavik
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 2002 Vaclav Slavik
|
|
// Licence: wxWindows Licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
|
|
#include "wx/defs.h"
|
|
#if wxUSE_HTML && wxUSE_STREAMS
|
|
|
|
#ifdef __BORDLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#ifndef WXPRECOMP
|
|
#endif
|
|
|
|
#include "wx/html/forcelnk.h"
|
|
#include "wx/html/m_templ.h"
|
|
|
|
FORCE_LINK_ME(m_style)
|
|
|
|
|
|
TAG_HANDLER_BEGIN(STYLE, "STYLE")
|
|
|
|
TAG_HANDLER_PROC(WXUNUSED(tag))
|
|
{
|
|
// VS: Ignore styles for now. We must have this handler present,
|
|
// because CSS style text would be rendered verbatim otherwise
|
|
return TRUE;
|
|
}
|
|
|
|
TAG_HANDLER_END(STYLE)
|
|
|
|
|
|
TAGS_MODULE_BEGIN(StyleTag)
|
|
|
|
TAGS_MODULE_ADD(STYLE)
|
|
|
|
TAGS_MODULE_END(StyleTag)
|
|
|
|
#endif
|