X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3ba9f8828b5cb1c61011e386a5e44fd16d2d8a5..a75124d0da255513e83d2e62f963dd849829466b:/docs/latex/wx/treedata.tex diff --git a/docs/latex/wx/treedata.tex b/docs/latex/wx/treedata.tex index 0de5d6da8b..e1e07edfb4 100644 --- a/docs/latex/wx/treedata.tex +++ b/docs/latex/wx/treedata.tex @@ -7,7 +7,7 @@ it means that the memory and any other resources associated with a tree item 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 @@ -21,13 +21,17 @@ using {\tt new}. +\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} @@ -50,10 +54,10 @@ wxTreeItemData} \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} @@ -61,7 +65,7 @@ Virtual destructor. \membersection{wxTreeItemData::GetId}\label{wxtreeitemdatagetid} -\func{const wxTreeItem\&}{GetId}{\void} +\func{const wxTreeItemId\&}{GetId}{\void} Returns the item associated with this node.