X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/treedata.tex?ds=sidebyside diff --git a/docs/latex/wx/treedata.tex b/docs/latex/wx/treedata.tex index 44ad5db09a..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} @@ -53,7 +57,7 @@ wxTreeItemData} {\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.