.\" This is a wxWidgets manpage page generated from the XML docs .TH wxGenericValidator 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxGenericValidator \- Generic control validator class .SH DESCRIPTION wxGenericValidator performs data transfer (but not validation or filtering) for the following basic controls: wxButton, wxCheckBox, wxListBox, wxStaticText, wxRadioButton, wxRadioBox, wxChoice, wxComboBox, wxGauge, wxSlider, wxScrollBar, wxSpinButton, wxTextCtrl, wxCheckListBox. It checks the type of the window and uses an appropriate type for that window. For example, wxButton and wxTextCtrl transfer data to and from a wxString variable; wxListBox uses a wxArrayInt; wxCheckBox uses a bool. For more information, please see Validator overview . .SH "PARENTS" wxValidator wxEvtHandler wxObject .SH "INCLUDE FILES" wx/valgen.h .SH MEMBERS .SS wxGenericValidator (const wxGenericValidator& validator) Copy constructor. .SS wxGenericValidator (bool* valPtr) Constructor taking a bool pointer. This will be used for wxCheckBox and wxRadioButton. .SS wxGenericValidator (wxString* valPtr) Constructor taking a wxString pointer. This will be used for wxButton, wxComboBox, wxStaticText, wxTextCtrl. .SS wxGenericValidator (int* valPtr) Constructor taking an integer pointer. This will be used for wxGauge, wxScrollBar, wxRadioBox, wxSpinButton, wxChoice. .SS wxGenericValidator (wxArrayInt* valPtr) Constructor taking a wxArrayInt pointer. This will be used for wxListBox, wxCheckListBox. .SS ~wxGenericValidator () Destructor. .SS virtual wxValidator* Clone () Clones the generic validator using the copy constructor. .SS virtual bool TransferFromWindow () Transfers the value from the window to the appropriate data type. .SS virtual bool TransferToWindow () Transfers the value to the window. .SH "SEE ALSO" wxValidator wxEvtHandler wxObject Validator overview wxValidator , wxTextValidator .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.