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:
Jaakko Salli
2008-10-06 15:10:00 +00:00
parent 6cd1aa9d38
commit ba9ed9d0c6
4 changed files with 4 additions and 47 deletions

View File

@@ -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.