]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/m_templ.h
changed return type of RGBColor to const Reference (avoiding compiler warnings)
[wxWidgets.git] / include / wx / html / m_templ.h
index a54725ee5f45fe7ae89512e239b502fc004c508e..9d9174772df951cea1df3b1b351c22e1354b362b 100644 (file)
@@ -23,30 +23,11 @@ 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 <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                \
     {                                                                     \
@@ -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);