X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..c50f92d08cc3633f8127931e7cf5d362ab8ac392:/docs/latex/wx/list.tex diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index 6073e3a2ef..ba7fef8068 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -2,7 +2,8 @@ wxList classes provide linked list functionality for wxWindows, and for an application if it wishes. Depending on the form of constructor used, a list -can be keyed on integer or string keys to provide a primitive look-up ability. +can be keyed on integer or string keys to provide a primitive look-up ability, +but please note that this feature is {\bf deprecated}. See \helpref{wxHashMap}{wxhashmap}\rtfsp for a faster method of storage when random access is required. @@ -138,12 +139,14 @@ members for getting to the next or previous node. \func{}{wxList}{\void} -\func{}{wxList}{\param{unsigned int}{ key\_type}} - \func{}{wxList}{\param{int}{ n}, \param{T *}{objects[]}} \func{}{wxList}{\param{T *}{object}, ...} +{\bf Note}: keyed lists are deprecated and should not be used in new code. + +\func{}{wxList}{\param{unsigned int}{ key\_type}} + Constructors. {\it key\_type} is one of wxKEY\_NONE, wxKEY\_INTEGER, or wxKEY\_STRING, and indicates what sort of keying is required (if any). @@ -163,6 +166,8 @@ client data held in the nodes. \func{wxNode *}{Append}{\param{T *}{object}} +{\bf Note}: keyed lists are deprecated and should not be used in new code. + \func{wxNode *}{Append}{\param{long}{ key}, \param{T *}{object}} \func{wxNode *}{Append}{\param{const wxString\& }{key}, \param{T *}{object}} @@ -207,6 +212,8 @@ Finds the given client {\it object} and deletes the appropriate node from the li Returns the node whose client date is {\it object} or NULL if none found. +{\bf Note}: keyed lists are deprecated and should not be used in new code. + \func{wxNode *}{Find}{\param{long}{ key}} \func{wxNode *}{Find}{\param{const wxString\& }{key}}