X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a60b0ddc20fd5ffeb7f49a02f329a1fa291bba11..702a26fded8c16bf858631d929580441ba23fdc4:/docs/latex/wx/scopedptr.tex diff --git a/docs/latex/wx/scopedptr.tex b/docs/latex/wx/scopedptr.tex index 2ceddcf6ef..34b9430796 100644 --- a/docs/latex/wx/scopedptr.tex +++ b/docs/latex/wx/scopedptr.tex @@ -72,13 +72,15 @@ cause an assert in debug mode. \func{T*}{release}{\void} Releases the current pointer and returns it. +Afterwards the caller is responsible for deleting +the data contained in the scoped pointer before. \membersection{wxScopedPtr::reset}\label{wxscopedptrtemplatereset} \func{void}{reset}{\param{T * }{ptr = NULL}} -Reset pointer. Afterwards the caller is responsible for deleting -the data contained in the scoped pointer before. +Reset pointer to the value of {\it ptr}. The +previous pointer will be deleted. \membersection{wxScopedPtr::swap}\label{wxscopedptrtemplateswap}