]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/valgen.tex
add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and...
[wxWidgets.git] / docs / latex / wx / valgen.tex
index cabaeff4123f97c2086d2ca2fcb9f6b1f0d00a1d..367d17a8eed41005db2ca82b9ade6cd3e06aaa73 100644 (file)
@@ -16,14 +16,22 @@ For more information, please see \helpref{Validator overview}{validatoroverview}
 \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}}
 
@@ -31,22 +39,29 @@ Copy constructor.
 
 \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.}
@@ -55,7 +70,7 @@ Constructor taking a wxArrayInt pointer. This will be used for wxListBox, wxChec
 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}
 
@@ -69,13 +84,13 @@ Clones the generic validator using the copy constructor.
 
 \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.