\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/valgen.h>
+
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{See also}
-\helpref{Validator overview}{validatoroverview}, \helpref{wxValidator}{wxvalidator},
-\helpref{wxTextValidator}{wxTextvalidator}
+\helpref{Validator overview}{validatoroverview}, \helpref{wxValidator}{wxvalidator},
+\helpref{wxTextValidator}{wxtextvalidator}
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxGenericValidator::wxGenericValidator}\label{wxgenericvalidatorconstr}
+\membersection{wxGenericValidator::wxGenericValidator}\label{wxgenericvalidatorctor}
\func{}{wxGenericValidator}{\param{const wxGenericValidator\&}{ validator}}
\func{}{wxGenericValidator}{\param{bool*}{ valPtr}}
-Constructor taking a bool pointer. This will be used for wxCheckBox and wxRadioButton.
+Constructor taking a bool pointer. This will be used for wxCheckBox,
+wxRadioButton, wxToggleButton and wxBitmapToggleButton.
\func{}{wxGenericValidator}{\param{wxString*}{ valPtr}}
-Constructor taking a wxString pointer. This will be used for wxButton, wxComboBox, wxStaticText,
-wxTextCtrl.
+Constructor taking a wxString pointer. This will be used for wxButton,
+wxComboBox, wxStaticText, wxTextCtrl.
\func{}{wxGenericValidator}{\param{int*}{ valPtr}}
-Constructor taking an integer pointer. This will be used for wxGauge, wxScrollBar, wxRadioBox, wxSpinButton,
-wxChoice.
+Constructor taking an integer pointer. This will be used for wxChoice,
+wxGauge, wxScrollBar, wxRadioBox, wxSlider, wxSpinButton and
+wxSpinCtrl.
\func{}{wxGenericValidator}{\param{wxArrayInt*}{ valPtr}}
Constructor taking a wxArrayInt pointer. This will be used for wxListBox, wxCheckListBox.
+\func{}{wxGenericValidator}{\param{wxDateTime*}{ valPtr}}
+
+Constructor taking a \helpref{wxDateTime}{wxdatetime} pointer. This will be
+used for \helpref{wxDatePickerCtrl}{wxdatepickerctrl}.
+
\wxheading{Parameters}
\docparam{validator}{Validator to copy.}
should have a lifetime equal to or longer than the validator lifetime (which is usually
determined by the lifetime of the window).}
-\membersection{wxGenericValidator::\destruct{wxGenericValidator}}
+\membersection{wxGenericValidator::\destruct{wxGenericValidator}}\label{wxgenericvalidatordtor}
\func{}{\destruct{wxGenericValidator}}{\void}
\membersection{wxGenericValidator::TransferFromWindow}\label{wxgenericvalidatortransferfromwindow}
-\func{virtual bool}{TransferToWindow}{\param{wxWindow*}{ parent}}
+\func{virtual bool}{TransferFromWindow}{}
-Transfers the value to the window.
+Transfers the value from the window to the appropriate data type.
\membersection{wxGenericValidator::TransferToWindow}\label{wxgenericvalidatortransfertowindow}
-\func{virtual bool}{TransferToWindow}{\param{wxWindow*}{ parent}}
+\func{virtual bool}{TransferToWindow}{}
-Transfers the window value to the appropriate data type.
+Transfers the value to the window.