Remove almost all traces of wxStringList - (still exists in wxTextValidator)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-02-07 22:42:42 +00:00
parent c51c475202
commit ec9eba4b78
5 changed files with 1 additions and 97 deletions

View File

@@ -291,7 +291,6 @@ These are the data structure classes supported by wxWidgets.
\twocolitem{\helpref{wxRegEx}{wxregex}}{Regular expression support} \twocolitem{\helpref{wxRegEx}{wxregex}}{Regular expression support}
\twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region} \twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region}
\twocolitem{\helpref{wxString}{wxstring}}{A string class} \twocolitem{\helpref{wxString}{wxstring}}{A string class}
\twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings}
\twocolitem{\helpref{wxStringTokenizer}{wxstringtokenizer}}{A class for interpreting a string as a list of tokens or words} \twocolitem{\helpref{wxStringTokenizer}{wxstringtokenizer}}{A class for interpreting a string as a list of tokens or words}
\twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers} \twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers}
\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size} \twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}

View File

@@ -311,7 +311,6 @@
\input wxstring.tex \input wxstring.tex
\input strcldat.tex \input strcldat.tex
\input sistream.tex \input sistream.tex
\input strlist.tex
\input sostream.tex \input sostream.tex
\input tokenizr.tex \input tokenizr.tex
\input sysclevt.tex \input sysclevt.tex

View File

@@ -1,82 +0,0 @@
\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
member.
\wxheading{Derived from}
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/list.h>
\wxheading{See also}
\helpref{wxString}{wxstring}, \helpref{wxList}{wxlist}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxStringList::wxStringList}\label{wxstringlistctor}
\func{}{wxStringList}{\void}
Constructor.
\func{}{wxStringList}{\param{char* }{first}, ...}
Constructor, taking NULL-terminated string argument list. wxStringList
allocates memory for the strings.
\membersection{wxStringList::\destruct{wxStringList}}\label{wxstringlistdtor}
\func{}{\destruct{wxStringList}}{\void}
Deletes string list, deallocating strings.
\membersection{wxStringList::Add}\label{wxstringlistadd}
\func{wxNode *}{Add}{\param{const wxString\& }{s}}
Adds string to list, allocating memory.
\membersection{wxStringList::Clear}\label{wxstringlistclear}
\func{void}{Clear}{\void}
Clears all strings from the list.
\membersection{wxStringList::Delete}\label{wxstringlistdelete}
\func{void}{Delete}{\param{const wxString\& }{s}}
Searches for string and deletes from list, deallocating memory.
\membersection{wxStringList::ListToArray}\label{wxstringlistlisttoarray}
\func{wxChar**}{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.
\membersection{wxStringList::Member}\label{wxstringlistmember}
\func{bool}{Member}{\param{const wxString\& }{s}}
Returns true if {\bf s} is a member of the list (tested using {\bf strcmp}).
\membersection{wxStringList::Sort}\label{wxstringlistsort}
\func{void}{Sort}{\void}
Sorts the strings in ascending alphabetical order. Note that all nodes
(but not strings) get deallocated and new ones allocated.

View File

@@ -42,7 +42,7 @@ need wxHelp and the \helpref{wxHelpController}{wxhelpcontroller} class to contro
wxHelp. wxHelp.
GUI applications aren't all graphical wizardry. List and hash table needs are GUI applications aren't all graphical wizardry. List and hash table needs are
catered for by \helpref{wxList}{wxlist}, \helpref{wxStringList}{wxstringlist} and \helpref{wxHashMap}{wxhashmap}. catered for by \helpref{wxList}{wxlist} and \helpref{wxHashMap}{wxhashmap}.
You will undoubtedly need some platform-independent \helpref{file functions}{filefunctions}, You will undoubtedly need some platform-independent \helpref{file functions}{filefunctions},
and you may find it handy to maintain and search a list of paths using \helpref{wxPathList}{wxpathlist}. and you may find it handy to maintain and search a list of paths using \helpref{wxPathList}{wxpathlist}.
There's a \helpref{miscellany}{miscellany} of operating system and other functions. There's a \helpref{miscellany}{miscellany} of operating system and other functions.

View File

@@ -65,12 +65,6 @@ Construction from a list of wxVariant objects. This constructor
copies {\it value}, the application is still responsible for copies {\it value}, the application is still responsible for
deleting {\it value} and its contents. deleting {\it value} and its contents.
\func{}{wxVariant}{\param{const wxStringList\&}{ value}, \param{const wxString\& }{name = ``"}}
Construction from a list of strings. This constructor
copies {\it value}, the application is still responsible for
deleting {\it value} and its contents.
\func{}{wxVariant}{\param{void*}{ value}, \param{const wxString\& }{name = ``"}} \func{}{wxVariant}{\param{void*}{ value}, \param{const wxString\& }{name = ``"}}
Construction from a void pointer. Construction from a void pointer.
@@ -303,8 +297,6 @@ Sets the internal variant data, deleting the existing data if there is any.
\func{void}{operator $=$}{\param{const wxList\& }{value}} \func{void}{operator $=$}{\param{const wxList\& }{value}}
\func{void}{operator $=$}{\param{const wxStringList\& }{value}}
\func{void}{operator $=$}{\param{const wxDateTime\& }{value}} \func{void}{operator $=$}{\param{const wxDateTime\& }{value}}
\func{void}{operator $=$}{\param{const wxArrayString\& }{value}} \func{void}{operator $=$}{\param{const wxArrayString\& }{value}}
@@ -337,8 +329,6 @@ Assignment operators.
\constfunc{bool}{operator $==$}{\param{const wxList\& }{value}} \constfunc{bool}{operator $==$}{\param{const wxList\& }{value}}
\constfunc{bool}{operator $==$}{\param{const wxStringList\& }{value}}
\constfunc{bool}{operator $==$}{\param{const wxArrayString\& }{value}} \constfunc{bool}{operator $==$}{\param{const wxArrayString\& }{value}}
\constfunc{bool}{operator $==$}{\param{const wxDateTime\& }{value}} \constfunc{bool}{operator $==$}{\param{const wxDateTime\& }{value}}
@@ -365,8 +355,6 @@ Equality test operators.
\constfunc{bool}{operator $!=$}{\param{const wxList\& }{value}} \constfunc{bool}{operator $!=$}{\param{const wxList\& }{value}}
\constfunc{bool}{operator $!=$}{\param{const wxStringList\& }{value}}
\constfunc{bool}{operator $!=$}{\param{const wxArrayString\& }{value}} \constfunc{bool}{operator $!=$}{\param{const wxArrayString\& }{value}}
\constfunc{bool}{operator $!=$}{\param{const wxDateTime\& }{value}} \constfunc{bool}{operator $!=$}{\param{const wxDateTime\& }{value}}