]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_links.cpp
fixed memory leak (m_selection wasn't deleted)
[wxWidgets.git] / src / html / m_links.cpp
index b1f0d0876f95bb537125bf29e1abde34c79c0728..4abb17295311458b99dd87fc1a9bf56fe6f62b29 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation
 #endif
 
@@ -41,7 +41,7 @@ public:
     void Draw(wxDC& WXUNUSED(dc),
               int WXUNUSED(x), int WXUNUSED(y),
               int WXUNUSED(view_y1), int WXUNUSED(view_y2),
-              wxHtmlRenderingState& WXUNUSED(state)) {}
+              wxHtmlRenderingInfo& WXUNUSED(info)) {}
 
     virtual const wxHtmlCell* Find(int condition, const void* param) const
     {
@@ -55,11 +55,14 @@ public:
             return wxHtmlCell::Find(condition, param);
         }
     }
+
+    DECLARE_NO_COPY_CLASS(wxHtmlAnchorCell)
 };
 
 
 
 TAG_HANDLER_BEGIN(A, "A")
+    TAG_HANDLER_CONSTR(A) { }
 
     TAG_HANDLER_PROC(tag)
     {