- wxTextValidator
Constructor taking a style and optional pointer to a wxString variable.
- Clone
Clones the text validator using the copy constructor.
- GetExcludes
Returns a reference to the exclude list (the list of invalid values).
- GetIncludes
Returns a reference to the include list (the list of valid values).
- GetStyle
Returns the validator style.
- HasFlag
Returns true if the given style bit is set in the current style.
- IsValid
Returns the error message if the contents of val are invalid or the empty string if val is valid.
- SetCharExcludes
Breaks the given chars strings in single characters and sets the internal wxArrayString used to store the "excluded" characters (see SetExcludes()).
- SetCharIncludes
Breaks the given chars strings in single characters and sets the internal wxArrayString used to store the "included" characters (see SetIncludes()).
- SetExcludes
Sets the exclude list (invalid values for the user input).
- SetIncludes
Sets the include list (valid values for the user input).
- SetStyle
Sets the validator style which must be a combination of one or more of the wxTextValidatorStyle values.
- TransferFromWindow
Transfers the value in the text control to the string.
- TransferToWindow
Transfers the string value to the text control.
- Validate
Validates the window contents against the include or exclude lists, depending on the validator style.