X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dee1a63ff52bfe4da396187f8438aa1a29796737..345319d60c69cac3f5e9e74ee570d20370fc532f:/include/wx/html/htmltag.h diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index d598176767..b73ffc7441 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -39,7 +39,7 @@ private: public: wxHtmlTagsCache() : wxObject() {m_CacheSize = 0; m_Cache = NULL;} wxHtmlTagsCache(const wxString& source); - ~wxHtmlTagsCache() {free(m_Cache);} + virtual ~wxHtmlTagsCache() {free(m_Cache);} // Finds parameters for tag starting at at and fills the variables void QueryTag(int at, int* end1, int* end2); @@ -68,7 +68,7 @@ protected: wxHtmlEntitiesParser *entParser); friend class wxHtmlParser; public: - ~wxHtmlTag(); + virtual ~wxHtmlTag(); wxHtmlTag *GetParent() const {return m_Parent;} wxHtmlTag *GetFirstSibling() const;