From ec9eba4b78a24484f64c1dfcd63dd861130762de Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Mon, 7 Feb 2005 22:42:42 +0000 Subject: [PATCH] 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 --- docs/latex/wx/category.tex | 1 - docs/latex/wx/classes.tex | 1 - docs/latex/wx/strlist.tex | 82 -------------------------------------- docs/latex/wx/tguide.tex | 2 +- docs/latex/wx/variant.tex | 12 ------ 5 files changed, 1 insertion(+), 97 deletions(-) delete mode 100644 docs/latex/wx/strlist.tex diff --git a/docs/latex/wx/category.tex b/docs/latex/wx/category.tex index 74ba6dc771..8a2ae1d4de 100644 --- a/docs/latex/wx/category.tex +++ b/docs/latex/wx/category.tex @@ -291,7 +291,6 @@ These are the data structure classes supported by wxWidgets. \twocolitem{\helpref{wxRegEx}{wxregex}}{Regular expression support} \twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region} \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{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers} \twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size} diff --git a/docs/latex/wx/classes.tex b/docs/latex/wx/classes.tex index 8cf0aca14e..ffa2d5dfdd 100644 --- a/docs/latex/wx/classes.tex +++ b/docs/latex/wx/classes.tex @@ -311,7 +311,6 @@ \input wxstring.tex \input strcldat.tex \input sistream.tex -\input strlist.tex \input sostream.tex \input tokenizr.tex \input sysclevt.tex diff --git a/docs/latex/wx/strlist.tex b/docs/latex/wx/strlist.tex deleted file mode 100644 index e3e4e890ad..0000000000 --- a/docs/latex/wx/strlist.tex +++ /dev/null @@ -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} - - - -\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. - - diff --git a/docs/latex/wx/tguide.tex b/docs/latex/wx/tguide.tex index 885ef87aca..c78f52a345 100644 --- a/docs/latex/wx/tguide.tex +++ b/docs/latex/wx/tguide.tex @@ -42,7 +42,7 @@ need wxHelp and the \helpref{wxHelpController}{wxhelpcontroller} class to contro wxHelp. 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}, 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. diff --git a/docs/latex/wx/variant.tex b/docs/latex/wx/variant.tex index 3bdde7a28e..dba0914cd9 100644 --- a/docs/latex/wx/variant.tex +++ b/docs/latex/wx/variant.tex @@ -65,12 +65,6 @@ Construction from a list of wxVariant objects. This constructor copies {\it value}, the application is still responsible for 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 = ``"}} 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 wxStringList\& }{value}} - \func{void}{operator $=$}{\param{const wxDateTime\& }{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 wxStringList\& }{value}} - \constfunc{bool}{operator $==$}{\param{const wxArrayString\& }{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 wxStringList\& }{value}} - \constfunc{bool}{operator $!=$}{\param{const wxArrayString\& }{value}} \constfunc{bool}{operator $!=$}{\param{const wxDateTime\& }{value}}