From 5949fba636b73fad062a91764e486e658376c7d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Aug 2001 13:58:56 +0000 Subject: [PATCH] documented SetMaxLength(0) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/text.tex | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2