X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521f1d8371b4f010e8d8c55b55720eb11ff052e6..ce668f297b03143bc15014a37c12e610c49c6e6b:/src/propgrid/property.cpp diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index a1fc39bb20..5c789adc78 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -2129,7 +2129,7 @@ void wxPGProperty::RemoveChild( wxPGProperty* p ) { if ( *it == p ) { - m_children.erase(it); + children.erase(it); break; } }