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