Moved wxPropertyGrid::SetPropertyName() to wxPropertyGridInterface

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-29 17:01:04 +00:00
parent 704ceca8d2
commit 020b004113
7 changed files with 41 additions and 37 deletions

View File

@@ -961,6 +961,21 @@ public:
p->SetModifiedStatus(modified);
}
/**
Sets name of a property.
@param id
Name or pointer of property which name to change.
@param newName
New name for property.
*/
void SetPropertyName( wxPGPropArg id, const wxString& newName )
{
wxPG_PROP_ARG_CALL_PROLOG()
m_pState->DoSetPropertyName( p, newName );
}
/**
Sets property (and, recursively, its children) to have read-only value.
In other words, user cannot change the value in the editor, but they