From: Vadim Zeitlin Date: Wed, 30 Jul 2008 19:25:10 +0000 (+0000) Subject: document that numbers outside of the valid range are forced into it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6a7e5ea2f5c412f92316c260b8531cff6d5cb231 document that numbers outside of the valid range are forced into it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/numdlg.h b/interface/wx/numdlg.h index 904f67e2e8..59b0518a7f 100644 --- a/interface/wx/numdlg.h +++ b/interface/wx/numdlg.h @@ -16,8 +16,8 @@ The number entered must be in the range @c min to @c max (both of which should be positive) and @c value is the initial value of it. If the user - enters an invalid value or cancels the dialog, the function will return - -1. + enters an invalid value, it is forced to fall into the specified range. If + the user cancels the dialog, the function returns -1. Dialog is centered on its @c parent unless an explicit position is given in @c pos.