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:
@@ -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 );
|
||||
|
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user