Document wxRadioButton relationship with focus in wxMSW

Explain that calling SetValue(true) may change the focus, as this is
not really obvious (and doesn't happen in the other ports).
This commit is contained in:
Vadim Zeitlin 2020-01-20 13:21:44 +01:00
parent ec07635801
commit db4c025e42

View File

@ -109,6 +109,12 @@ public:
value set to @true. To uncheck a radio button in a group you must check
another button in the same group.
@note Under MSW, the focused radio button is always selected, i.e. its
value is @true. And, conversely, calling @c SetValue(true) will
also set focus to the radio button if the focus had previously been
on another radio button in the same group -- as otherwise setting
it on wouldn't work.
@param value
@true to check, @false to uncheck.
*/