]> git.saurik.com Git - wxWidgets.git/commitdiff
Improved documentation for wxPGProperty::DoSetAttribute()
authorJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 7 Jan 2010 19:43:12 +0000 (19:43 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 7 Jan 2010 19:43:12 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/property.h
interface/wx/propgrid/property.h

index e7c39301979ebe99288f4c05dda4d5b8f446efc9..99027163b7457bab95cd3e9a6e800f049d12cdb6 100644 (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 );
 
index 280da6e128191072c30f8ed6d209267e0ce532d1..95493ad7b4b44f7cb1a77f712afe1dff3ad3a989 100644 (file)
@@ -881,12 +881,15 @@ 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 );