X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0856cb256202963ff01496da8e6523a02ceb265d..ac687ddffb6f199603abc2415f7bcf0d051f1eca:/samples/combo/combo.cpp?ds=sidebyside diff --git a/samples/combo/combo.cpp b/samples/combo/combo.cpp index 057277c474..ecf48986a6 100644 --- a/samples/combo/combo.cpp +++ b/samples/combo/combo.cpp @@ -4,7 +4,6 @@ // Author: Jaakko Salli // Modified by: // Created: Apr-30-2006 -// RCS-ID: $Id$ // Copyright: (c) Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -939,15 +938,15 @@ void MyFrame::OnComboBoxUpdate( wxCommandEvent& event ) if ( !event.GetEventObject()->IsKindOf(CLASSINFO(wxComboCtrl)) ) return; - if ( event.GetEventType() == wxEVT_COMMAND_COMBOBOX_SELECTED ) + if ( event.GetEventType() == wxEVT_COMBOBOX ) { wxLogDebug(wxT("EVT_COMBOBOX(id=%i,selection=%i)"),event.GetId(),event.GetSelection()); } - else if ( event.GetEventType() == wxEVT_COMMAND_TEXT_UPDATED ) + else if ( event.GetEventType() == wxEVT_TEXT ) { wxLogDebug(wxT("EVT_TEXT(id=%i,string=\"%s\")"),event.GetId(),event.GetString().c_str()); } - else if ( event.GetEventType() == wxEVT_COMMAND_TEXT_ENTER ) + else if ( event.GetEventType() == wxEVT_TEXT_ENTER ) { wxLogDebug("EVT_TEXT_ENTER(id=%i,string=\"%s\")", event.GetId(), event.GetString().c_str());