X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcf576ccfe754a634034203aa133c02fb5d2f964..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/radiobut.tex diff --git a/docs/latex/wx/radiobut.tex b/docs/latex/wx/radiobut.tex index cefad84a75..cc042eb24b 100644 --- a/docs/latex/wx/radiobut.tex +++ b/docs/latex/wx/radiobut.tex @@ -3,6 +3,9 @@ A radio button item is a button which usually denotes one of several mutually exclusive options. It has a text label next to a (usually) round button. +You can create a group of mutually-exclusive radio buttons by specifying {\tt wxRB\_GROUP} for +the first in the group. The group ends when another radio button group is created, or there are no more radio buttons. + \wxheading{Derived from} \helpref{wxControl}{wxcontrol}\\ @@ -19,11 +22,11 @@ exclusive options. It has a text label next to a (usually) round button. \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxRB\_GROUP}}{Marks the beginning of a new group of radio buttons.} -\twocolitem{\windowstyle{wxRB\_SINGLE}}{If your radio buttons are not -consecutive siblings, they cannot form a group under Windows and you should use -this style to indicate that each of them is handled individually.} -\twocolitem{\windowstyle{wxRB\_USE\_CHECKBOX}}{Use of the checkbox control instead of radio -button (currently supported only on PalmOS)} +\twocolitem{\windowstyle{wxRB\_SINGLE}}{In some circumstances, radio buttons that are not +consecutive 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.} +\twocolitem{\windowstyle{wxRB\_USE\_CHECKBOX}}{Use a checkbox button instead of radio +button (currently supported only on PalmOS).} \end{twocollist} See also \helpref{window styles overview}{windowstyles}.