]> git.saurik.com Git - wxWidgets.git/commitdiff
documented SetMaxLength(0)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Aug 2001 13:58:56 +0000 (13:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Aug 2001 13:58:56 +0000 (13:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/text.tex

index 8c4fdd6ae5d6c843dfb67ac819a71ecf8d8b5cc7..724f33a98c4e807961cfededc7040a628b47b01e 100644 (file)
@@ -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.
 
 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
 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