Documentation error in wxRadioButton?

Alec Ross alec at arlross.demon.co.uk
Thu Sep 6 04:34:59 PDT 2007


...
>Returns true if the radio button is depressed, false otherwise.
>
>Isn't that backwards? I mean, shouldn't it be true for pressed (or
>selected, as it is called in the description of SetValue()) and false
>otherwise?

depressed == pressed   // depressed != de-selected
                                     // depressed != unpressed

HTH

...
-- 
Alec Ross






More information about the wx-users mailing list