Use m_children as it were std::vector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1581,6 +1581,20 @@ void wxPGProperty::AddChild( wxPGProperty* prop )
|
||||
prop->m_parent = this;
|
||||
}
|
||||
|
||||
void wxPGProperty::RemoveChild( wxPGProperty* p )
|
||||
{
|
||||
wxArrayPGProperty::iterator it;
|
||||
wxArrayPGProperty& children = m_children;
|
||||
|
||||
for ( it=children.begin(); it != children.end(); it++ )
|
||||
{
|
||||
if ( *it == p )
|
||||
{
|
||||
m_children.erase(it);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void wxPGProperty::AdaptListToValue( wxVariant& list, wxVariant* value ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user