diff --git a/include/wx/osx/core/cfdataref.h b/include/wx/osx/core/cfdataref.h index 6c604cd069..54e7498243 100644 --- a/include/wx/osx/core/cfdataref.h +++ b/include/wx/osx/core/cfdataref.h @@ -34,10 +34,9 @@ public: typedef wxCFRef super_type; /*! @method wxCFDataRef - @abstract Assumes ownership of p and creates a reference to it. - @templatefield otherType Any type. - @param p The raw pointer to assume ownership of. May be NULL. - @discussion Like shared_ptr, it is assumed that the caller has a strong reference to p and intends + @abstract Assumes ownership of r and creates a reference to it. + @param r The data reference to assume ownership of. May be NULL. + @discussion Like shared_ptr, it is assumed that the caller has a strong reference to r and intends to transfer ownership of that reference to this ref holder. If the object comes from a Create or Copy method then this is the correct behaviour. If the object comes from a Get method then you must CFRetain it yourself before passing it to this constructor.