]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected wxCommandProcessor ctor docs
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Dec 2002 14:09:38 +0000 (14:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Dec 2002 14:09:38 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/cmdproc.tex

index 76310b5d711f8465e5f34c70f72462a94dcda3ae..922e97fa241cb837d2b5b67549f27868e29e62e6 100644 (file)
@@ -20,13 +20,13 @@ if you want different behaviour.
 
 \membersection{wxCommandProcessor::wxCommandProcessor}
 
-\func{}{wxCommandProcessor}{\param{int}{ maxCommands = 100}}
+\func{}{wxCommandProcessor}{\param{int}{ maxCommands = $-1$}}
 
 Constructor.
 
-{\it maxCommands} defaults to a rather arbitrary 100, but can be set from 1 to any integer.
-If your wxCommand classes store a lot of data, you may wish the limit the number of
-commands stored to a smaller number.
+{\it maxCommands} may be set to a positive integer to limit the number of
+commands stored to it, otherwise (and by default) the list of commands can grow
+arbitrarily.
 
 \membersection{wxCommandProcessor::\destruct{wxCommandProcessor}}