From 6a7e5ea2f5c412f92316c260b8531cff6d5cb231 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 30 Jul 2008 19:25:10 +0000 Subject: [PATCH] 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 --- interface/wx/numdlg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.45.2