::SetControlValue( m_macControl , val ) ;
- if (val) {
+ if (val)
+ {
cycle=this->NextInCycle();
if (cycle!=NULL) {
while (cycle!=this) {
void wxRadioButton::MacHandleControlClick( ControlHandle control , SInt16 controlpart )
{
SetValue(true) ;
+ wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
+ event.SetEventObject(this);
+ ProcessCommand(event);
}
wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
return(cycle);
}
}
-