STL-ification patch for wxMSW and wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -725,7 +725,8 @@ wxTreeCtrl::~wxTreeCtrl()
|
||||
// delete any attributes
|
||||
if ( m_hasAnyAttr )
|
||||
{
|
||||
for ( wxNode *node = m_attrs.Next(); node; node = m_attrs.Next() )
|
||||
for ( wxHashTable::compatibility_iterator node = m_attrs.Next();
|
||||
node; node = m_attrs.Next() )
|
||||
{
|
||||
delete (wxTreeItemAttr *)node->GetData();
|
||||
}
|
||||
|
Reference in New Issue
Block a user