X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/univ/radiobox.cpp diff --git a/src/univ/radiobox.cpp b/src/univ/radiobox.cpp index ac606d1cd3..b468f61fce 100644 --- a/src/univ/radiobox.cpp +++ b/src/univ/radiobox.cpp @@ -63,7 +63,7 @@ public: virtual bool ProcessEvent(wxEvent& event) { // we intercept the command events from radio buttons - if ( event.GetEventType() == wxEVT_COMMAND_RADIOBUTTON_SELECTED ) + if ( event.GetEventType() == wxEVT_RADIOBUTTON ) { m_radio->OnRadioButton(event); } @@ -261,7 +261,7 @@ void wxRadioBox::SendRadioEvent() { wxCHECK_RET( m_selection != -1, wxT("no active radio button") ); - wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, GetId()); + wxCommandEvent event(wxEVT_RADIOBOX, GetId()); InitCommandEvent(event); event.SetInt(m_selection); event.SetString(GetString(m_selection));