Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1443,6 +1443,11 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
Deletes children of the property.
|
||||
*/
|
||||
void DeleteChildren();
|
||||
|
||||
/**
|
||||
Removes entry from property's wxPGChoices and editor control (if it is
|
||||
active).
|
||||
@@ -2073,9 +2078,6 @@ public:
|
||||
/** Returns index of given child property. */
|
||||
int Index( const wxPGProperty* p ) const;
|
||||
|
||||
/** Deletes all sub-properties. */
|
||||
void Empty();
|
||||
|
||||
// Puts correct indexes to children
|
||||
void FixIndicesOfChildren( unsigned int starthere = 0 );
|
||||
|
||||
@@ -2205,6 +2207,9 @@ protected:
|
||||
|
||||
void DoSetName(const wxString& str) { m_name = str; }
|
||||
|
||||
/** Deletes all sub-properties. */
|
||||
void Empty();
|
||||
|
||||
void InitAfterAdded( wxPropertyGridPageState* pageState,
|
||||
wxPropertyGrid* propgrid );
|
||||
|
||||
|
Reference in New Issue
Block a user