X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..801d040762d0d875126935b79d660d4e2fe1b177:/docs/latex/wx/hash.tex?ds=sidebyside diff --git a/docs/latex/wx/hash.tex b/docs/latex/wx/hash.tex index afd8c0a635..37cd59f4d7 100644 --- a/docs/latex/wx/hash.tex +++ b/docs/latex/wx/hash.tex @@ -3,7 +3,7 @@ {\bf Please note} that this class is retained for backward compatibility reasons; you should use \helpref{wxHashMap}{wxhashmap}. -This class provides hash table functionality for wxWindows, and for an +This class provides hash table functionality for wxWidgets, and for an application if it wishes. Data can be hashed on an integer or string key. @@ -20,7 +20,7 @@ key. Below is an example of using a hash table. \begin{verbatim} - wxHashTable table(KEY_STRING); + wxHashTable table(wxKEY_STRING); wxPoint *point = new wxPoint(100, 200); table.Put("point 1", point); @@ -112,13 +112,14 @@ explicitly (for instance when combining two data values to form a key). \membersection{wxHashTable::Next} -\func{wxNode *}{Next}{\void} +\func{wxHashTable::Node *}{Next}{\void} If the application wishes to iterate through all the data in the hash table, it can call {\it BeginFind} and then loop on {\it Next}. This function -returns a {\bf wxNode} pointer (or NULL if there are no more nodes). See the -description for \helpref{wxNode}{wxnode}. The user will probably only wish to use the -{\bf wxNode::Data} function to retrieve the data; the node may also be deleted. +returns a {\bf wxHashTable::Node} pointer (or NULL if there are no more nodes). +The return value is functionally equivalent to \textbf{wxNode} but might not be +implemented as a \textbf{wxNode}. The user will probably only wish to use the +\textbf{GetData} method to retrieve the data; the node may also be deleted. \membersection{wxHashTable::Put}