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