Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-14 13:53:21 +00:00
parent 55f0bf1ff1
commit 258ccb95f5
4 changed files with 18 additions and 10 deletions

View File

@@ -1165,6 +1165,12 @@ public:
m_helpString = helpString;
}
/** Sets property's label.
@remarks
- Properties under same parent may have same labels. However,
property names must still remain unique.
*/
void SetLabel( const wxString& label ) { m_label = label; }
inline void SetName( const wxString& newName );

View File

@@ -765,9 +765,10 @@ public:
}
/** Sets label of a property.
@remarks
This is the only way to set property's name. There is not
wxPGProperty::SetLabel() method.
- Properties under same parent may have same labels. However,
property names must still remain unique.
*/
void SetPropertyLabel( wxPGPropArg id, const wxString& newproplabel );