]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/proplosv.tex
1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
[wxWidgets.git] / docs / latex / wx / proplosv.tex
1 \section{\class{wxListOfStringsListValidator}}\label{wxlistofstringslistvalidator}
2
3 \overview{Validator classes}{proplistvalidatorclasses}
4
5 This class validates a list of strings for a list view. When editing the property,
6 a dialog box is presented for adding, deleting or editing entries in the list.
7 At present no constraints may be supplied.
8
9 You can construct a string list property value by constructing a wxStringList object.
10
11 For 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
26 Constructor.
27