added wxNode::IndexOf and wxList::IndexOf (patch by Frank McIngvale)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,6 +144,13 @@ Returns the node whose stored key matches {\it key}. Use on a keyed list only.
|
||||
|
||||
Returns the first node in the list (NULL if the list is empty).
|
||||
|
||||
\membersection{wxList::IndexOf}
|
||||
|
||||
\func{int}{IndexOf}{\param{wxObject*}{ obj }}
|
||||
|
||||
Returns the index of {\it obj} within the list or NOT\_FOUND if {\it obj}
|
||||
is not found in the list.
|
||||
|
||||
\membersection{wxList::Insert}
|
||||
|
||||
\func{wxNode *}{Insert}{\param{wxObject *}{object}}
|
||||
|
@@ -38,4 +38,10 @@ Retrieves the previous node (NULL if at start of list).
|
||||
Sets the data associated with the node (usually the pointer will have been
|
||||
set when the node was created).
|
||||
|
||||
\membersection{wxNode::IndexOf}
|
||||
|
||||
\func{int}{IndexOf}{\void}
|
||||
|
||||
Returns the zero-based index of this node within the list. The return value
|
||||
will be NOT\_FOUND if the node has not been added to a list yet.
|
||||
|
||||
|
Reference in New Issue
Block a user