git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48320
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class wxHtmlTagsCacheData;
class wxHtmlTagsCacheData;
-class WXDLLIMPEXP_HTML wxHtmlTagsCache : public wxObject
+class WXDLLIMPEXP_HTML wxHtmlTagsCache
- DECLARE_DYNAMIC_CLASS(wxHtmlTagsCache)
-
private:
wxHtmlTagsCacheData *m_Cache;
size_t m_CachePos;
private:
wxHtmlTagsCacheData *m_Cache;
size_t m_CachePos;
// by wxHtmlParser.
//--------------------------------------------------------------------------------
// 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
protected:
// constructs wxHtmlTag object based on HTML tag.
// The tag begins (with '<' character) at position pos in source
wxHtmlEntitiesParser *entParser);
friend class wxHtmlParser;
public:
wxHtmlEntitiesParser *entParser);
friend class wxHtmlParser;
public:
wxHtmlTag *GetParent() const {return m_Parent;}
wxHtmlTag *GetFirstSibling() const;
wxHtmlTag *GetParent() const {return m_Parent;}
wxHtmlTag *GetFirstSibling() const;
-IMPLEMENT_CLASS(wxHtmlTagsCache,wxObject)
-
bool wxIsCDATAElement(const wxChar *tag)
{
return (wxStrcmp(tag, _T("SCRIPT")) == 0) ||
bool wxIsCDATAElement(const wxChar *tag)
{
return (wxStrcmp(tag, _T("SCRIPT")) == 0) ||
// wxHtmlTag
//-----------------------------------------------------------------------------
// wxHtmlTag
//-----------------------------------------------------------------------------
-IMPLEMENT_CLASS(wxHtmlTag,wxObject)
-
wxHtmlTag::wxHtmlTag(wxHtmlTag *parent,
const wxString& source, int pos, int end_pos,
wxHtmlTagsCache *cache,
wxHtmlTag::wxHtmlTag(wxHtmlTag *parent,
const wxString& source, int pos, int end_pos,
wxHtmlTagsCache *cache,
- wxHtmlEntitiesParser *entParser) : wxObject()
+ wxHtmlEntitiesParser *entParser)
{
/* Setup DOM relations */
{
/* Setup DOM relations */