X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..ee1377e1fa364f364b9a896c786c95ef177164cf:/interface/wx/radiobut.h diff --git a/interface/wx/radiobut.h b/interface/wx/radiobut.h index 76a63a9b1a..f24790b117 100644 --- a/interface/wx/radiobut.h +++ b/interface/wx/radiobut.h @@ -25,9 +25,6 @@ siblings trigger a hang bug in Windows (only). If this happens, add this style to mark the button as not belonging to a group, and implement the mutually-exclusive group behaviour yourself. - @style{wxRB_USE_CHECKBOX} - Use a checkbox button instead of radio button (currently supported - only on PalmOS). @endStyleTable @beginEventEmissionTable{wxCommandEvent} @@ -107,6 +104,10 @@ public: /** Sets the radio button to selected or deselected status. This does not cause a @c wxEVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted. + + If the radio button belongs to a group you can only select a radio button + (which will deselect the previously selected button) and you therefore + must not call this method with value set to @false in that case. @param value @true to select, @false to deselect.