X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..d6f582e704041c4b133893183270d4853ea34bac:/docs/latex/wx/trefcount.tex diff --git a/docs/latex/wx/trefcount.tex b/docs/latex/wx/trefcount.tex index eb280c5c78..f605a6ffff 100644 --- a/docs/latex/wx/trefcount.tex +++ b/docs/latex/wx/trefcount.tex @@ -18,7 +18,6 @@ transparently to the class users and that whether an object is shared or not is not seen from the outside of the class - in any case, the result of any operation on it is the same. -\subsection{List of reference-counted wxWidgets classes}\label{refcountlist} \subsection{Object comparison}\label{refcountequality} The $==$ and $!=$ operators of \helpref{wxWidgets COW objects}{refcountlist} @@ -35,7 +34,7 @@ That's why not all reference-counted wxWidgets classes provide comparison operat Also note that if you only need to do a {\tt shallow} comparison between two \helpref{wxObject}{wxobject}-derived classes, you should not use the $==$ and $!=$ operators -but rather the \helpref{wxObject::IsRefTo}{wxobjectisrefto} function. +but rather the \helpref{wxObject::IsSameAs}{wxobjectissameas} function. \subsection{Object destruction}\label{refcountdestruct} @@ -48,6 +47,8 @@ destroyed. As for all other COW-things, this happens transparently to the class that you shouldn't care about it. +\subsection{List of reference-counted wxWidgets classes}\label{refcountlist} + The following classes in wxWidgets have efficient (i.e. fast) assignment operators and copy constructors since they are reference-counted: