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:
parent
ec07635801
commit
db4c025e42
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user