]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgridiface.cpp
borders might have to be drawn differently
[wxWidgets.git] / src / propgrid / propgridiface.cpp
index 99bf2dd80ca95f16a20fd1dec179628b6b68cc65..d29e2f44986dfcc144451825445586d135bb7513 100644 (file)
@@ -166,10 +166,6 @@ wxPGProperty* wxPropertyGridInterface::RemoveProperty( wxPGPropArg id )
 
     state->DoDelete( p, false );
 
-    // Mark the property as 'unattached'
-    p->m_parentState = NULL;
-    p->m_parent = NULL;
-
     RefreshGrid(state);
 
     return p;