X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cba2db0c2969f9b83e8a1736e260d22200e99a99..2245b2b2c3339ecf023e5880caa803610a5d1907:/docs/latex/wx/tvalidat.tex?ds=inline diff --git a/docs/latex/wx/tvalidat.tex b/docs/latex/wx/tvalidat.tex index 9d910371ee..871797c76a 100644 --- a/docs/latex/wx/tvalidat.tex +++ b/docs/latex/wx/tvalidat.tex @@ -1,4 +1,4 @@ -\section{Validator overview}\label{validatoroverview} +\section{wxValidator overview}\label{validatoroverview} Classes: \helpref{wxValidator}{wxvalidator}, \helpref{wxTextValidator}{wxtextvalidator}, \helpref{wxGenericValidator}{wxgenericvalidator} @@ -117,6 +117,6 @@ void wxDialog::OnOK(wxCommandEvent& event) So if using validators and a normal OK button, you may not even need to write any code for handling dialog dismissal. -If you load your dialog from a resource file, you'll need to iterate through the controls +If you load your dialog from a resource file, you will need to iterate through the controls setting validators, since validators can't be specified in a dialog resource.