Update wxSpinCtrlDouble::SetValue() documentation too

This should have been done together with the other related updates in
35fa1f93bc (Reset wxSpinCtrl value to GetMin() if text string is
invalid, 2021-04-23), but was forgotten there.

See #19140.
This commit is contained in:
Vadim Zeitlin
2021-04-26 15:06:04 +01:00
parent 5ab5172930
commit eef5fa245b

View File

@@ -368,10 +368,10 @@ public:
Sets the value of the spin control. Sets the value of the spin control.
It is recommended to use the overload taking a double value instead. It is recommended to use the overload taking a double value instead.
The behaviour of this function when @a text doesn't represent a valid If @a text doesn't represent a valid number, it may not be shown in the
number currently differs between the platforms, however text part of the control at all (only empty string is guaranteed to be
passing an empty string does clear the text part contents, without supported under all platforms) and the numeric value will be changed to
affecting the value returned by GetValue(), under all of them. GetMin().
Notice that, unlike wxTextCtrl::SetValue(), but like most of the other Notice that, unlike wxTextCtrl::SetValue(), but like most of the other
setter methods in wxWidgets, calling this method does not generate any setter methods in wxWidgets, calling this method does not generate any