]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/proplosv.tex
added new text event macros description
[wxWidgets.git] / docs / latex / wx / proplosv.tex
CommitLineData
200fed6c
VS
1\section{\class{wxListOfStringsListValidator}}\label{wxlistofstringslistvalidator}
2
200fed6c
VS
3This class validates a list of strings for a list view. When editing the property,
4a dialog box is presented for adding, deleting or editing entries in the list.
5At present no constraints may be supplied.
6
7You can construct a string list property value by constructing a wxStringList object.
8
9For example:
10
11\begin{verbatim}
12 myListValidatorRegistry.RegisterValidator((wxString)"stringlist",
13 new wxListOfStringsListValidator);
14
15 wxStringList *strings = new wxStringList("earth", "fire", "wind", "water", NULL);
16
17 sheet->AddProperty(new wxProperty("fred", strings, "stringlist"));
18\end{verbatim}
19
fa482912
JS
20\wxheading{See also}
21
22\helpref{Validator classes}{proplistvalidatorclasses}
23
24\latexignore{\rtfignore{\wxheading{Members}}}
25
200fed6c
VS
26\membersection{wxListOfStringsListValidator::wxListofStringsListValidator}
27
28\func{void}{wxListOfStringsListValidator}{\param{long}{ flags=0}}
29
30Constructor.
31