X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b222f1c9e0acb63c781675555c76f6129316eb1..1c0f361be288df133c766e04cc857b3e4682b31a:/docs/latex/wx/scpdarry.tex diff --git a/docs/latex/wx/scpdarry.tex b/docs/latex/wx/scpdarry.tex index 9164885ea7..b35224b90a 100644 --- a/docs/latex/wx/scpdarry.tex +++ b/docs/latex/wx/scpdarry.tex @@ -1,4 +1,4 @@ -\section{wxScopedArray}\label{wxscopedarray} +\section{\class{wxScopedArray}}\label{wxscopedarray} This is a simple scoped smart pointer array implementation that is similar to the \urlref{Boost}{http://www.boost.org} smart pointers but rewritten to @@ -6,7 +6,7 @@ use macros instead. \wxheading{Example} -Below is an example of using a wxWindows scoped smart pointer and +Below is an example of using a wxWidgets scoped smart pointer and pointer array. \begin{verbatim} @@ -47,7 +47,7 @@ pointer array. \end{verbatim} A smart pointer holds a pointer to an object (which must be complete -when wxDEFINE_SCOPED_ARRAY() is called). The memory used by the object is +when wxDEFINE\_SCOPED\_ARRAY() 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 wxScopedArray to