X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2c6ef8d186df490df28a694820a5e8afc4b5e8..2c6f14e1a7b5062fcf77eda40824d820d9ac288e:/docs/latex/wx/strlist.tex?ds=sidebyside diff --git a/docs/latex/wx/strlist.tex b/docs/latex/wx/strlist.tex index db26f1702f..8956e27041 100644 --- a/docs/latex/wx/strlist.tex +++ b/docs/latex/wx/strlist.tex @@ -1,5 +1,9 @@ \section{\class{wxStringList}}\label{wxstringlist} +{\bf NB:} This class is obsolete, please don't use it any longer. You can use +either \helpref{wxArrayString}{wxarraystring} or a \helpref{type safe}{wxlist} +list class instead. + A string list is a list which is assumed to contain strings. Memory is allocated when strings are added to the list, and deallocated by the destructor or by the {\bf Delete}\rtfsp @@ -10,6 +14,10 @@ member. \helpref{wxList}{wxlist}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxString}{wxstring}, \helpref{wxList}{wxlist} @@ -53,16 +61,16 @@ Searches for string and deletes from list, deallocating memory. \membersection{wxStringList::ListToArray} -\func{char*}{ListToArray}{\param{bool}{ new\_copies = FALSE}} +\func{char*}{ListToArray}{\param{bool}{ new\_copies = false}} Converts the list to an array of strings, only allocating new memory if -\rtfsp{\bf new\_copies} is TRUE. +\rtfsp{\bf new\_copies} is true. \membersection{wxStringList::Member} \func{bool}{Member}{\param{const wxString\& }{s}} -Returns TRUE if {\bf s} is a member of the list (tested using {\bf strcmp}). +Returns true if {\bf s} is a member of the list (tested using {\bf strcmp}). \membersection{wxStringList::Sort}