]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/proplosv.tex
don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary...
[wxWidgets.git] / docs / latex / wx / proplosv.tex
... / ...
CommitLineData
1\section{\class{wxListOfStringsListValidator}}\label{wxlistofstringslistvalidator}
2
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
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
30Constructor.
31