X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..20f46e8dc8ba9246f7174e9d9153f61282f53a07:/include/wx/html/m_templ.h?ds=inline diff --git a/include/wx/html/m_templ.h b/include/wx/html/m_templ.h index a54725ee5f..7dc0e16227 100644 --- a/include/wx/html/m_templ.h +++ b/include/wx/html/m_templ.h @@ -23,35 +23,16 @@ I STRONGLY recommend reading and understanding these macros!! #define _WX_M_TEMPL_H_ #include "wx/defs.h" -#if wxUSE_HTML - - -#ifdef __GNUG__ -#pragma interface -#pragma implementation -#endif - -#include - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#ifndef WXPRECOMP -#include -#endif - - +#if wxUSE_HTML #include "wx/html/winpars.h" - #define TAG_HANDLER_BEGIN(name,tags) \ class HTML_Handler_##name : public wxHtmlWinTagHandler \ { \ public: \ - wxString GetSupportedTags() {return tags;} + wxString GetSupportedTags() {return wxT(tags);} @@ -87,7 +68,7 @@ I STRONGLY recommend reading and understanding these macros!! #define TAGS_MODULE_ADD(handler) \ - parser -> AddTagHandler(new HTML_Handler_##handler); + parser->AddTagHandler(new HTML_Handler_##handler);