]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/m_templ.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / html / m_templ.h
index fb272c61dc141c2dd6e3d726592f2bd8db378298..17ff701967b50170c21dc3cf69b75605a70cc962 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        m_templ.h
+// Name:        wx/html/m_templ.h
 // Purpose:     Modules template file
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
@@ -29,10 +29,9 @@ I STRONGLY recommend reading and understanding these macros!!
 #include "wx/html/winpars.h"
 
 #define TAG_HANDLER_BEGIN(name,tags)                                      \
-    class HTML_Handler_##name : public wxHtmlWinTagHandler                \
+    class wxHTML_Handler_##name : public wxHtmlWinTagHandler              \
     {                                                                     \
         public:                                                           \
-            HTML_Handler_##name() : wxHtmlWinTagHandler() {}              \
             wxString GetSupportedTags() {return wxT(tags);}
 
 
@@ -42,7 +41,7 @@ I STRONGLY recommend reading and understanding these macros!!
 
 #define TAG_HANDLER_CONSTR(name)                                                \
         public:                                                           \
-        HTML_Handler_##name () : wxHtmlWinTagHandler()
+        wxHTML_Handler_##name () : wxHtmlWinTagHandler()
 
 
 #define TAG_HANDLER_PROC(varib)                                           \
@@ -52,16 +51,15 @@ I STRONGLY recommend reading and understanding these macros!!
 
 
 #define TAG_HANDLER_END(name)                                             \
-        DECLARE_NO_COPY_CLASS(HTML_Handler_##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:                                                           \
             void FillHandlersTable(wxHtmlWinParser *parser)               \
                 {
@@ -70,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 wxHTML_Handler_##handler);
 
 
 
@@ -78,7 +76,7 @@ I STRONGLY recommend reading and understanding these macros!!
 #define TAGS_MODULE_END(name)                                             \
                 }                                                         \
     };                                                                    \
-    IMPLEMENT_DYNAMIC_CLASS(HTML_Module##name , wxHtmlTagsModule)
+    IMPLEMENT_DYNAMIC_CLASS(wxHTML_Module##name , wxHtmlTagsModule)