X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/631787c478ab89fedabe9a6b70546f90d6b2a102..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/trefcount.tex diff --git a/docs/latex/wx/trefcount.tex b/docs/latex/wx/trefcount.tex index d240a690e3..01ed32c0a1 100644 --- a/docs/latex/wx/trefcount.tex +++ b/docs/latex/wx/trefcount.tex @@ -73,7 +73,8 @@ wxWidgets; some ports may use this tecnique also for other classes. \subsection{Make your own reference-counted class}\label{wxobjectoverview} Reference counting can be implemented easily using \helpref{wxObject}{wxobject} -and \helpref{wxObjectRefData}{wxobjectrefdata} classes. +and \helpref{wxObjectRefData}{wxobjectrefdata} classes. Alternatively, you +can also use the \helpref{wxObjectDataPtr}{wxobjectdataptr} template. First, derive a new class from \helpref{wxObjectRefData}{wxobjectrefdata} and put there the memory-consuming data.