RadioButtonValue aradiobutton outputs true if the RadioButton aradiobutton is checked, false otherwise. Example:
rb=(RadioButton [][PenPaint] [ if RadioButtonValue rb [pr [checked]] ] wxRB_GROUP)