]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/propstfv.tex
Manual fixes
[wxWidgets.git] / docs / latex / wx / propstfv.tex
CommitLineData
200fed6c
VS
1\section{\class{wxStringFormValidator}}\label{wxstringformvalidator}
2
3\overview{Validator classes}{proplistvalidatorclasses}
4
5This class validates a string value for a form view, with an optional choice of possible values.
6The associated panel item must be a wxText, wxListBox or wxChoice. For wxListBox and wxChoice items,
7if the item is empty, the validator attempts to initialize the item from the strings in
8the validator. Note that this does not happen for XView wxChoice items since XView cannot reinitialize a wxChoice.
9
10\membersection{wxStringFormValidator::wxStringFormValidator}
11
12\func{void}{wxStringFormValidator}{\param{wxStringList *}{list=NULL}, \param{long}{ flags=0}}
13
14Constructor. Supply a list of strings to indicate a choice, or no strings to allow the
15user to freely edit the string. The string list will be deleted when the validator is deleted.
16
17