X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3ba9f8828b5cb1c61011e386a5e44fd16d2d8a5..aaa6f9ba6bd0be1fe6a34800e6f753ffdc49900c:/docs/latex/wx/treedata.tex diff --git a/docs/latex/wx/treedata.tex b/docs/latex/wx/treedata.tex index 0de5d6da8b..03d1f2c0e3 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 @@ -27,7 +27,7 @@ using {\tt new}. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxTreeItemData::wxTreeItemData}\label{wxtreeitemdataconstr} +\membersection{wxTreeItemData::wxTreeItemData}\label{wxtreeitemdatactor} \func{}{wxTreeItemData}{\void} @@ -50,10 +50,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 +61,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.