a note just in case I misread wxHTML code again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -443,27 +443,29 @@ void wxHtmlWinParser::SetInputEncoding(wxFontEncoding enc)
|
|||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinTagHandler, wxHtmlTagHandler)
|
IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinTagHandler, wxHtmlTagHandler)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxHtmlTagsModule
|
// wxHtmlTagsModule
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// NB: This is *NOT* winpars.cpp's initialization and shutdown code!!
|
||||||
|
// This module is an ancestor for tag handlers modules defined
|
||||||
|
// in m_*.cpp files with TAGS_MODULE_BEGIN...TAGS_MODULE_END construct.
|
||||||
|
//
|
||||||
|
// Do not add any winpars.cpp shutdown or initialization code to it,
|
||||||
|
// create a new module instead!
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxHtmlTagsModule, wxModule)
|
IMPLEMENT_DYNAMIC_CLASS(wxHtmlTagsModule, wxModule)
|
||||||
|
|
||||||
|
|
||||||
bool wxHtmlTagsModule::OnInit()
|
bool wxHtmlTagsModule::OnInit()
|
||||||
{
|
{
|
||||||
wxHtmlWinParser::AddModule(this);
|
wxHtmlWinParser::AddModule(this);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void wxHtmlTagsModule::OnExit()
|
void wxHtmlTagsModule::OnExit()
|
||||||
{
|
{
|
||||||
wxHtmlWinParser::RemoveModule(this);
|
wxHtmlWinParser::RemoveModule(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user