Invalidate wxPG property and its sub-properties names prior deferred deletion.

If deleted property is a category property then all its sub-properties have to be renamed prior deleting.

See #16617.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek
2014-11-10 16:41:07 +00:00
parent dba5aea483
commit 54c7eb3c56
2 changed files with 42 additions and 9 deletions

View File

@@ -704,6 +704,16 @@ protected:
/** Mark sub-properties as being deleted */
void DoMarkChildrenAsDeleted(wxPGProperty* p, bool recursive);
/** Rename the property
so it won't remain in the way of the user code.
*/
void DoInvalidatePropertyName(wxPGProperty* p);
/** Rename sub-properties
so it won't remain in the way of the user code.
*/
void DoInvalidateChildrenNames(wxPGProperty* p, bool recursive);
/** If visible, then this is pointer to wxPropertyGrid.
This shall *never* be NULL to indicate that this state is not visible.
*/