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:
parent
0510b4bbee
commit
0d58bb6578
@ -300,8 +300,14 @@ wxHtmlTag::wxHtmlTag(wxHtmlTag *parent,
|
|||||||
|
|
||||||
wxHtmlTag::~wxHtmlTag()
|
wxHtmlTag::~wxHtmlTag()
|
||||||
{
|
{
|
||||||
for (wxHtmlTag *t = m_FirstChild; t; t = t->GetNextSibling())
|
wxHtmlTag *t1, *t2;
|
||||||
delete t;
|
t1 = m_FirstChild;
|
||||||
|
while (t1)
|
||||||
|
{
|
||||||
|
t2 = t1->GetNextSibling();
|
||||||
|
delete t1;
|
||||||
|
t1 = t2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxHtmlTag::HasParam(const wxString& par) const
|
bool wxHtmlTag::HasParam(const wxString& par) const
|
||||||
|
Loading…
Reference in New Issue
Block a user