Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -230,15 +230,6 @@ public:
|
||||
*/
|
||||
bool ChangePropertyValue( wxPGPropArg id, wxVariant newValue );
|
||||
|
||||
/** Resets value of a property to its default. */
|
||||
bool ClearPropertyValue( wxPGPropArg id )
|
||||
{
|
||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(false)
|
||||
p->SetValue(p->GetDefaultValue());
|
||||
RefreshProperty(p);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
Deletes a property by id. If category is deleted, all children are
|
||||
automatically deleted as well.
|
||||
|
Reference in New Issue
Block a user