.\" This is a wxWidgets manpage page generated from the XML docs .TH wxTextValidator 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxTextValidator \- Text control validator class .SH DESCRIPTION wxTextValidator validates text controls, providing a variety of filtering behaviours. For more information, please see Validator overview . .SH "PARENTS" wxValidator wxEvtHandler wxObject .SH "INCLUDE FILES" wx/valtext.h .SH MEMBERS .SS wxTextValidator (const wxTextValidator& validator) Copy constructor. .SS wxTextValidator (long style = wxFILTER_NONEwxString* valPtr = NULL) Constructor, taking a style and optional pointer to a wxString variable. .SS virtual wxValidator* Clone () Clones the text validator using the copy constructor. .SS wxArrayString& GetExcludes () Returns a reference to the exclude list (the list of invalid values). .SS wxArrayString& GetIncludes () Returns a reference to the include list (the list of valid values). .SS long GetStyle () Returns the validator style. .SS void OnChar (wxKeyEvent& event) Receives character input from the window and filters it according to the current validator style. .SS void SetExcludes (const wxArrayString& stringList) Sets the exclude list (invalid values for the user input). .SS void SetIncludes (const wxArrayString& stringList) Sets the include list (valid values for the user input). .SS void SetStyle (long style) Sets the validator style. .SS virtual bool TransferFromWindow () Transfers the value in the text control to the string. .SS virtual bool TransferToWindow () Transfers the string value to the text control. .SS virtual bool Validate (wxWindow* parent) Validates the window contents against the include or exclude lists, depending on the validator style. .SH "SEE ALSO" wxValidator wxEvtHandler wxObject Validator overview wxValidator , wxGenericValidator .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.