]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxStringFormValidator}}\label{wxstringformvalidator} | |
2 | ||
3 | \overview{Validator classes}{proplistvalidatorclasses} | |
4 | ||
5 | This class validates a string value for a form view, with an optional choice of possible values. | |
6 | The associated panel item must be a wxText, wxListBox or wxChoice. For wxListBox and wxChoice items, | |
7 | if the item is empty, the validator attempts to initialize the item from the strings in | |
8 | the 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 | ||
14 | Constructor. Supply a list of strings to indicate a choice, or no strings to allow the | |
15 | user to freely edit the string. The string list will be deleted when the validator is deleted. | |
16 | ||
17 |