git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42561
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
is not seen from the outside of the class - in any case, the result of any
operation on it is the same.
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}
The following classes in wxWidgets have efficient (i.e. fast) assignment operators
\subsection{List of reference-counted wxWidgets classes}\label{refcountlist}
The following classes in wxWidgets have efficient (i.e. fast) assignment operators
\helpref{wxRegionIterator}{wxregioniterator}\\
\helpref{wxString}{wxstring}
\helpref{wxRegionIterator}{wxregioniterator}\\
\helpref{wxString}{wxstring}
\subsection{Make your own reference-counted class}\label{wxobjectoverview}
Reference counting can be implemented easily using \helpref{wxObject}{wxobject}
\subsection{Make your own reference-counted class}\label{wxobjectoverview}
Reference counting can be implemented easily using \helpref{wxObject}{wxobject}
you'll need to call such function.
Very important, all times you need to actually modify the data placed inside your
you'll need to call such function.
Very important, all times you need to actually modify the data placed inside your
-wxObject-derived class, you must first call the \helpref{wxObject::UnShare}{wxobjectunshare}
+wxObject-derived class, you must first call the wxObject::UnShare
function to be sure that the modifications won't affect other instances which are
eventually sharing your object's data.
function to be sure that the modifications won't affect other instances which are
eventually sharing your object's data.