Improved documentation for wxPGProperty::DoSetAttribute()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-01-07 19:43:12 +00:00
parent 4fe6eca460
commit 14946ce13c
2 changed files with 15 additions and 8 deletions

View File

@@ -1456,12 +1456,16 @@ public:
*/
virtual void RefreshChildren();
/** Special handling for attributes of this property.
/**
Reimplement this member function to add special handling for
attributes of this property.
If returns false, then the attribute will be automatically stored in
m_attributes.
@return Return @false to have the attribute automatically stored in
m_attributes. Default implementation simply does that and
nothing else.
Default implementation simply returns false.
@remarks To actually set property attribute values from the
application, use wxPGProperty::SetAttribute() instead.
*/
virtual bool DoSetAttribute( const wxString& name, wxVariant& value );