Updated wxWeakRef<T> to patch Weak references for wx - part 2, removed T*() and added T* get(), other minor docs corr

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-01-08 09:55:21 +00:00
parent c22eea9c9f
commit 9dd5ff5baa
4 changed files with 143 additions and 47 deletions

View File

@@ -40,12 +40,12 @@ Destructor.
Returns pointer to object or NULL.
\membersection{wxScopedPtr<T>::operator*}\label{wxscopedptrtemplateoperatorptrt}
\membersection{wxScopedPtr<T>::operator*}\label{wxscopedptrtemplateoperatorreft}
\constfunc{T \&}{operator*}{\void}
Returns pointer to object. If the pointer is NULL this method will
cause an assert in debug mode.
Returns a reference to the object. If the internal pointer is NULL
this method will cause an assert in debug mode.
\membersection{wxScopedPtr<T>::operator->}\label{wxscopedptrtemplateoperatorderef}
@@ -58,7 +58,7 @@ cause an assert in debug mode.
\func{T*}{release}{\void}
Returns pointer to object or NULL.
Releases the current pointer and returns NULL.
\membersection{wxScopedPtr<T>::reset}\label{wxscopedptrtemplatereset}