X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2616db56739e4962f683f59ac9e207756efe23c..4c7852186d48a5b8f406462c2c3fa020f0a052bb:/docs/latex/wx/text.tex diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 8c4fdd6ae5..724f33a98c 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -527,6 +527,10 @@ This function sets the maximum number of characters the user can enter into the control. In other words, it allows to limit the text value length to {\it len} not counting the terminating {\tt NUL} character. +If {\it len} is $0$, the previously set max length limi, if any, is discarded +and the user may enter as much text as the underlying native text control +widget supports (typically at least 32Kb). + If the user tries to enter more characters into the text control when it already is filled up to the maximal length, a {\tt wxEVT\_COMMAND\_TEXT\_MAXLEN} event is sent to notify the program about it