oops, forgot to fix wxHtmlTag dtor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-07-20 12:32:50 +00:00
parent 0510b4bbee
commit 0d58bb6578

View File

@ -300,8 +300,14 @@ wxHtmlTag::wxHtmlTag(wxHtmlTag *parent,
wxHtmlTag::~wxHtmlTag()
{
for (wxHtmlTag *t = m_FirstChild; t; t = t->GetNextSibling())
delete t;
wxHtmlTag *t1, *t2;
t1 = m_FirstChild;
while (t1)
{
t2 = t1->GetNextSibling();
delete t1;
t1 = t2;
}
}
bool wxHtmlTag::HasParam(const wxString& par) const