X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..93f467a3b4d1eda959b44cc01df34b4463383cfe:/docs/latex/wx/tvalidat.tex?ds=inline diff --git a/docs/latex/wx/tvalidat.tex b/docs/latex/wx/tvalidat.tex index 291ba56429..f0ccdf6978 100644 --- a/docs/latex/wx/tvalidat.tex +++ b/docs/latex/wx/tvalidat.tex @@ -19,7 +19,7 @@ or you can write your own. Here is an example of wxTextValidator usage. \begin{verbatim} - wxTextCtrl *txt1 = new wxTextCtrl(this, VALIDATE_TEXT, "", + wxTextCtrl *txt1 = new wxTextCtrl(this, -1, wxT(""), wxPoint(10, 10), wxSize(100, 80), 0, wxTextValidator(wxFILTER_ALPHA, &g_data.m_string)); \end{verbatim}