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
This commit is contained in:
Vadim Zeitlin
2012-05-15 10:04:07 +00:00
parent 82c372a7e2
commit 4d769703f6

View File

@@ -66,8 +66,9 @@ public:
the control and if it has numeric value, the initial numeric value of 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 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 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, initial if @a value is an empty string or is not convertible to a
otherwise @a initial is simply ignored. number, otherwise @a initial is simply ignored and the number specified
by @a value is used.
@param parent @param parent
Parent window. Must not be @NULL. Parent window. Must not be @NULL.