will be automatically freed when it is deleted. Note that we don't use wxObject
as the base class for wxTreeItemData because the size of this class is
critical: in many applications, each tree leaf will have wxTreeItemData
-associated with it and number of leaves may be quite big.
+associated with it and the number of leaves may be quite big.
Also please note that because the objects of this class are deleted by the tree
using the operator {\tt delete}, they must always be allocated on the heap
\wxheading{Derived from}
-wxClientData
+\helpref{wxClientData}{wxclientdata}
\wxheading{Include files}
<wx/treectrl.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{See also}
\helpref{wxTreeCtrl}{wxtreectrl}
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxTreeItemData::wxTreeItemData}\label{wxtreeitemdataconstr}
+\membersection{wxTreeItemData::wxTreeItemData}\label{wxtreeitemdatactor}
\func{}{wxTreeItemData}{\void}
\perlnote{In wxPerl the constructor accepts as parameter an optional scalar,
and stores it as client data. You may retrieve this data by calling
- {\bf GetData()}, and set it by callling {\bf SetData( data ).}
+ {\bf GetData()}, and set it by calling {\bf SetData( data ).}
}
-\membersection{wxTreeItemData::\destruct{wxTreeItemData}}
+\membersection{wxTreeItemData::\destruct{wxTreeItemData}}\label{wxtreeitemdatadtor}
\func{void}{\destruct{wxTreeItemData}}{\void}
\membersection{wxTreeItemData::GetId}\label{wxtreeitemdatagetid}
-\func{const wxTreeItem\&}{GetId}{\void}
+\func{const wxTreeItemId\&}{GetId}{\void}
Returns the item associated with this node.