Fix deleting wxPG properties with sub-properties.
If property contains sub-properties they should be deselected prior deleting the property. See #16617. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -697,6 +697,13 @@ protected:
|
||||
wxPGProperty* BaseGetPropertyByLabel( const wxString& label,
|
||||
wxPGProperty* parent = NULL ) const;
|
||||
|
||||
/** Unselect sub-properties */
|
||||
void DoRemoveChildrenFromSelection(wxPGProperty* p, bool recursive,
|
||||
int selFlags);
|
||||
|
||||
/** Mark sub-properties as being deleted */
|
||||
void DoMarkChildrenAsDeleted(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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user