prefix symbols with wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
|||||||
#include "wx/html/winpars.h"
|
#include "wx/html/winpars.h"
|
||||||
|
|
||||||
#define TAG_HANDLER_BEGIN(name,tags) \
|
#define TAG_HANDLER_BEGIN(name,tags) \
|
||||||
class HTML_Handler_##name : public wxHtmlWinTagHandler \
|
class wxHTML_Handler_##name : public wxHtmlWinTagHandler \
|
||||||
{ \
|
{ \
|
||||||
public: \
|
public: \
|
||||||
wxString GetSupportedTags() {return wxT(tags);}
|
wxString GetSupportedTags() {return wxT(tags);}
|
||||||
@@ -41,7 +41,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
|||||||
|
|
||||||
#define TAG_HANDLER_CONSTR(name) \
|
#define TAG_HANDLER_CONSTR(name) \
|
||||||
public: \
|
public: \
|
||||||
HTML_Handler_##name () : wxHtmlWinTagHandler()
|
wxHTML_Handler_##name () : wxHtmlWinTagHandler()
|
||||||
|
|
||||||
|
|
||||||
#define TAG_HANDLER_PROC(varib) \
|
#define TAG_HANDLER_PROC(varib) \
|
||||||
@@ -57,9 +57,9 @@ I STRONGLY recommend reading and understanding these macros!!
|
|||||||
|
|
||||||
|
|
||||||
#define TAGS_MODULE_BEGIN(name) \
|
#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: \
|
public: \
|
||||||
void FillHandlersTable(wxHtmlWinParser *parser) \
|
void FillHandlersTable(wxHtmlWinParser *parser) \
|
||||||
{
|
{
|
||||||
@@ -68,7 +68,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
|||||||
|
|
||||||
|
|
||||||
#define TAGS_MODULE_ADD(handler) \
|
#define TAGS_MODULE_ADD(handler) \
|
||||||
parser->AddTagHandler(new HTML_Handler_##handler);
|
parser->AddTagHandler(new wxHTML_Handler_##handler);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
|||||||
#define TAGS_MODULE_END(name) \
|
#define TAGS_MODULE_END(name) \
|
||||||
} \
|
} \
|
||||||
}; \
|
}; \
|
||||||
IMPLEMENT_DYNAMIC_CLASS(HTML_Module##name , wxHtmlTagsModule)
|
IMPLEMENT_DYNAMIC_CLASS(wxHTML_Module##name , wxHtmlTagsModule)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user