]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/proplosv.tex
Append() returns int, not void
[wxWidgets.git] / docs / latex / wx / proplosv.tex
1 \section{\class{wxListOfStringsListValidator}}\label{wxlistofstringslistvalidator}
2
3 This class validates a list of strings for a list view. When editing the property,
4 a dialog box is presented for adding, deleting or editing entries in the list.
5 At present no constraints may be supplied.
6
7 You can construct a string list property value by constructing a wxStringList object.
8
9 For 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
20 \wxheading{See also}
21
22 \helpref{Validator classes}{proplistvalidatorclasses}
23
24 \latexignore{\rtfignore{\wxheading{Members}}}
25
26 \membersection{wxListOfStringsListValidator::wxListofStringsListValidator}
27
28 \func{void}{wxListOfStringsListValidator}{\param{long}{ flags=0}}
29
30 Constructor.
31