don't derive wxHtmlTag and wxHtmlTagsCache from wxObject, it's useless

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-08-22 08:46:01 +00:00
parent 4f7e8fda39
commit 7da48d4928
2 changed files with 4 additions and 12 deletions

View File

@@ -27,10 +27,8 @@ class WXDLLIMPEXP_FWD_HTML wxHtmlEntitiesParser;
class wxHtmlTagsCacheData;
class WXDLLIMPEXP_HTML wxHtmlTagsCache : public wxObject
class WXDLLIMPEXP_HTML wxHtmlTagsCache
{
DECLARE_DYNAMIC_CLASS(wxHtmlTagsCache)
private:
wxHtmlTagsCacheData *m_Cache;
size_t m_CachePos;
@@ -55,10 +53,8 @@ public:
// by wxHtmlParser.
//--------------------------------------------------------------------------------
class WXDLLIMPEXP_HTML wxHtmlTag : public wxObject
class WXDLLIMPEXP_HTML wxHtmlTag
{
DECLARE_CLASS(wxHtmlTag)
protected:
// constructs wxHtmlTag object based on HTML tag.
// The tag begins (with '<' character) at position pos in source
@@ -69,7 +65,7 @@ protected:
wxHtmlEntitiesParser *entParser);
friend class wxHtmlParser;
public:
virtual ~wxHtmlTag();
~wxHtmlTag();
wxHtmlTag *GetParent() const {return m_Parent;}
wxHtmlTag *GetFirstSibling() const;