\end{verbatim}
}%
-\latexignore{\rtfignore{\wxheading{Members}}}
+\wxheading{See also}
+
+\helpref{wxSharedPtr}{wxsharedptr}, \helpref{wxWeakRef}{wxweakref}
+\latexignore{\rtfignore{\wxheading{Members}}}
+
\membersection{wxScopedPtr<T>::wxScopedPtr<T>}\label{wxscopedptrtemplatewxscopedptrtemplate}
\func{wxEXPLICIT}{wxScopedPtr<T>}{\param{T * }{ptr = NULL}}
\func{T*}{release}{\void}
-Releases the current pointer and returns NULL.
+Releases the current pointer and returns it.
\membersection{wxScopedPtr<T>::reset}\label{wxscopedptrtemplatereset}
\section{\class{wxSharedPtr<T>}}\label{wxsharedptr}
-A smart pointer with non-intrusive reference counting.
+A smart pointer with non-intrusive reference counting. It is modeled
+after {\bf boost::shared\_ptr<>} and can be used with STL containers
+and \helpref{wxVector<>}{wxvector} - unlike {\bf std::auto\_ptr<>}
+and \helpref{wxScopedPtr<>}{wxscopedptrtemplate}.
\wxheading{Derived from}
\end{verbatim}
}%
+\wxheading{See also}
+
+\helpref{wxScopedPtr}{wxscopedptrtemplate}, \helpref{wxWeakRef}{wxweakref}
+
+
\latexignore{\rtfignore{\wxheading{Members}}}
\func{wxSharedPtr<T>\& operator}{operator=}{\param{const wxSharedPtr<T>\& }{tocopy}}
-Assignment operator.
+Assignment operator. Releases any previously held pointer
+and creates a reference to same object as {\it topcopy}.
+
+\membersection{wxSharedPtr<T>::operator=}\label{wxsharedptroperatorassign2}
+
+\func{wxSharedPtr<T>\& operator}{operator=}{\param{T *}{ptr}}
+
+Assignment operator. Releases any previously held pointer
+and creates a reference to {\it ptr}.
\membersection{wxSharedPtr<T>::unique}\label{wxsharedptrunique}
{\bf wxWeakRef} is a template class for weak references to wxWidgets objects,
such as {\bf wxEvtHandler}, {\bf wxWindow} and {\bf wxObject}. A weak
reference behaves much like an ordinary pointer, but when the object pointed
-to goes out of scope (is destroyed), the weak reference is automatically
-reset to a NULL pointer.
+is destroyed, the weak reference is automatically reset to a NULL pointer.
wxWeakref<T> can be used whenever one must keep a pointer to an object
that does not directly own, and that may be destroyed before the object
wxASSERT( wr==NULL );
\end{verbatim}
-wxWeakref<T> works for any objects that are derived from {\bf wxTrackableBase}
-or {\bf wxTrackable}. By default, wxEvtHandler and wxWindow derive from
-wxTrackableBase. However, wxObject does not, so types like {\bf wxFont} and
+wxWeakref<T> works for any objects that are derived from
+\helpref{wxTrackableBase}{wxtrackablebase} or \helpref{wxTrackable}{wxtrackable}.
+By default, wxEvtHandler and wxWindow derive from wxTrackableBase. However,
+wxObject does not, so types like {\bf wxFont} and
{\bf wxColour} are not trackable. The example below shows how to create a
wxObject derived class that is trackable:
\wxheading{Data structures}
+{\small%
+\begin{verbatim}
+typedef T element_type
+\end{verbatim}
+}%
+
+
\latexignore{\rtfignore{\wxheading{Members}}}