X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..f363cee882672e147340240cf0bb194a68e37833:/src/univ/radiobox.cpp diff --git a/src/univ/radiobox.cpp b/src/univ/radiobox.cpp index ac606d1cd3..9b1855cc04 100644 --- a/src/univ/radiobox.cpp +++ b/src/univ/radiobox.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 11.09.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -63,7 +62,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 +260,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));