Document that wxMSW wxSpinButton supports inversed range.

This was surprising to discover and seems useful to know in the documentation,
if only to say that this is not supported under the other platforms.
This commit is contained in:
Vadim Zeitlin
2015-05-21 01:06:10 +02:00
parent 42469a4fc1
commit ba107a9a87

View File

@@ -168,6 +168,12 @@ public:
/**
Sets the range of the spin button.
In portable code, @a min should be less than or equal to @a max. In
wxMSW it is possible to specify minimum greater than maximum and the
native control supports the same range as if they were reversed, but
swaps the meaning of up and down arrows, however this dubious feature
is not supported on other platforms.
@param min
The minimum value for the spin button.
@param max