Corrected docs of ::release and ::reset in smart pointers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-01-09 09:27:26 +00:00
parent 94eff479bf
commit aaf4caeedc
3 changed files with 18 additions and 11 deletions

View File

@@ -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<T>::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<T>::swap}\label{wxscopedptrtemplateswap}