#define _WX_M_TEMPL_H_
#include "wx/defs.h"
-#if wxUSE_HTML
-
-
-#ifdef __GNUG__
-#pragma interface
-#pragma implementation
-#endif
-
-#include <wx/wxprec.h>
-
-#ifdef __BORDLANDC__
-#pragma hdrstop
-#endif
-
-#ifndef WXPRECOMP
-#include <wx/wx.h>
-#endif
-
-
+#if wxUSE_HTML
#include "wx/html/winpars.h"
-
#define TAG_HANDLER_BEGIN(name,tags) \
- class HTML_Handler_##name : public wxHtmlWinTagHandler \
+ class wxHTML_Handler_##name : public wxHtmlWinTagHandler \
{ \
public: \
- wxString GetSupportedTags() {return tags;}
+ wxString GetSupportedTags() {return wxT(tags);}
#define TAG_HANDLER_CONSTR(name) \
public: \
- HTML_Handler_##name () : wxHtmlWinTagHandler()
+ wxHTML_Handler_##name () : wxHtmlWinTagHandler()
#define TAG_HANDLER_PROC(varib) \
#define TAGS_MODULE_BEGIN(name) \
- class HTML_Module##name : public wxHtmlTagsModule \
+ class wxHTML_Module##name : public wxHtmlTagsModule \
{ \
- DECLARE_DYNAMIC_CLASS(HTML_Module##name ) \
+ DECLARE_DYNAMIC_CLASS(wxHTML_Module##name ) \
public: \
void FillHandlersTable(wxHtmlWinParser *parser) \
{
#define TAGS_MODULE_ADD(handler) \
- parser -> AddTagHandler(new HTML_Handler_##handler);
+ parser->AddTagHandler(new wxHTML_Handler_##handler);
#define TAGS_MODULE_END(name) \
} \
}; \
- IMPLEMENT_DYNAMIC_CLASS(HTML_Module##name , wxHtmlTagsModule)
+ IMPLEMENT_DYNAMIC_CLASS(wxHTML_Module##name , wxHtmlTagsModule)