X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9838df2cefc5b368bb11f98c784ecc78f45ecaf7..43c9c17dfbc351e9b754aa6380db12d292c2e115:/docs/latex/wx/list.tex diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index 5fb29e84c1..8cdcdf03f8 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -35,7 +35,7 @@ macros): // declare our list class: this macro declares and partly implements MyList // class (which derives from wxListBase) - WX_DECLARE_LIST(MyListElement, MyList) + WX_DECLARE_LIST(MyListElement, MyList); ... @@ -44,7 +44,7 @@ macros): // usually it will be found in the source file and not in the header #include - WX_DEFINE_LIST(MyList) + WX_DEFINE_LIST(MyList); // now MyList class may be used as a usual wxList, but all of its methods // will take/return the objects of the right (i.e. MyListElement) type. You @@ -72,6 +72,10 @@ future versions completely. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Example} It is very common to iterate on a list as follows: @@ -211,7 +215,7 @@ Returns the first node in the list (NULL if the list is empty). \func{int}{IndexOf}{\param{wxObject*}{ obj }} -Returns the index of {\it obj} within the list or NOT\_FOUND if {\it 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}