X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72636c1509db52918996658c17e5e948b64fa5dc..6e42617af493da590f7d08ed248be615ab817eee:/docs/latex/wx/scopedptr.tex

diff --git a/docs/latex/wx/scopedptr.tex b/docs/latex/wx/scopedptr.tex
index 0e2e980518..34b9430796 100644
--- a/docs/latex/wx/scopedptr.tex
+++ b/docs/latex/wx/scopedptr.tex
@@ -44,6 +44,15 @@ Destructor.
 
 Returns pointer to object or NULL.
 
+\membersection{wxScopedPtr<T>::operator unspecified\_bool\_type}\label{wxscopedptrtemplateoperatorbool}
+
+\constfunc{}{operator unspecified\_bool\_type}{\void}
+
+Conversion to a boolean expression (in a variant which is not 
+convertable to anything but a boolean expression). If this class
+contains a valid pointer it will return {\it true}, if it contains
+a NULL pointer it will return {\it false}.
+
 \membersection{wxScopedPtr<T>::operator*}\label{wxscopedptrtemplateoperatorreft}
 
 \constfunc{T \&}{operator*}{\void}
@@ -63,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}
 
