From 4d769703f6e9707fb8ee0d2a3c6f69966c0d690b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 15 May 2012 10:04:07 +0000 Subject: [PATCH] Correct the documentation of wxSpinCtrl initial and value arguments. It does make sense to specify "initial" if "value" is empty. See #13589. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/spinctrl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/wx/spinctrl.h b/interface/wx/spinctrl.h index fac812cb30..0b88027f09 100644 --- a/interface/wx/spinctrl.h +++ b/interface/wx/spinctrl.h @@ -66,8 +66,9 @@ public: the control and if it has numeric value, the initial numeric value of the control, as returned by GetValue() will also be determined by it instead of by @a initial. Hence, it only makes sense to specify @a - initial if @a value is a non-empty string not convertible to a number, - otherwise @a initial is simply ignored. + initial if @a value is an empty string or is not convertible to a + number, otherwise @a initial is simply ignored and the number specified + by @a value is used. @param parent Parent window. Must not be @NULL. -- 2.45.2