X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b222f1c9e0acb63c781675555c76f6129316eb1..a37e4a071ce9bbd6825fb6c6a03154d4318d2cff:/docs/latex/wx/scpdptr.tex?ds=sidebyside diff --git a/docs/latex/wx/scpdptr.tex b/docs/latex/wx/scpdptr.tex index f5ae98c0c4..3fab597dfa 100644 --- a/docs/latex/wx/scpdptr.tex +++ b/docs/latex/wx/scpdptr.tex @@ -1,4 +1,4 @@ -\section{wxScopedPtr}\label{wxscopedptr} +\section{\class{wxScopedPtr}}\label{wxscopedptr} This is a simple scoped smart pointer implementation that is similar to the \urlref{Boost}{http://www.boost.org} smart pointers but rewritten to @@ -47,7 +47,7 @@ pointer array. \end{verbatim} A smart pointer holds a pointer to an object (which must be complete -when wxDEFINE_SCOPED_PTR() is called). The memory used by the object is +when wxDEFINE\_SCOPED\_PTR() is called). The memory used by the object is deleted when the smart pointer goes out of scope. The first argument of the macro is the pointer type, the second is the name of the new smart pointer class being created. Below we will use wxScopedPtr to