]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/scpdptr.tex
Compilation fix.
[wxWidgets.git] / docs / latex / wx / scpdptr.tex
index f5ae98c0c403b2886dd804d4f583f78fcefae7d2..f513808fb15aec7289965f3cdde8d0b405e3d918 100644 (file)
@@ -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
@@ -87,9 +87,9 @@ This operator works like the standard C++ pointer operator to return the object
 being pointed to by the pointer.  If the pointer is NULL or invalid this will
 crash.
 
-\membersection{wxScopedPtr::operator -\>}
+\membersection{wxScopedPtr::operator -$>$} % TODO
 
-\func{const T*}{operator -\>}{\void}
+\func{const T*}{operator -$>$}{\void} % TODO
 
 This operator works like the standard C++ pointer operator to return the pointer
 in the smart pointer or NULL if it is empty.