if (rb->m_blockEvent) return;
- wxCommandEvent event( wxEVT_COMMAND_RADIOBUTTON_SELECTED, rb->GetId());
+ wxCommandEvent event( wxEVT_RADIOBUTTON, rb->GetId());
event.SetInt( rb->GetValue() );
event.SetEventObject( rb );
rb->HandleWindowEvent( event );