]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/m_templ.h
Fixed memory leaks when wxUSE_STL=1.
[wxWidgets.git] / include / wx / html / m_templ.h
index 9d9174772df951cea1df3b1b351c22e1354b362b..b50c31b1a12bd75bc776b5e2b78505e7c3662efc 100644 (file)
@@ -32,7 +32,7 @@ I STRONGLY recommend reading and understanding these macros!!
     class HTML_Handler_##name : public wxHtmlWinTagHandler                \
     {                                                                     \
         public:                                                           \
     class HTML_Handler_##name : public wxHtmlWinTagHandler                \
     {                                                                     \
         public:                                                           \
-            wxString GetSupportedTags() {return tags;}
+            wxString GetSupportedTags() {return wxT(tags);}
 
 
 
 
 
 
@@ -51,6 +51,7 @@ I STRONGLY recommend reading and understanding these macros!!
 
 
 #define TAG_HANDLER_END(name)                                             \
 
 
 #define TAG_HANDLER_END(name)                                             \
+        DECLARE_NO_COPY_CLASS(HTML_Handler_##name)                        \
     };
 
 
     };