X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d0cf3f9be68172d67ed1e82975ea5f080989a33..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/generic/vlbox.cpp?ds=sidebyside diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index a4be49817c..e277070b3d 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 31.05.03 -// RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -275,7 +274,7 @@ void wxVListBox::SendSelectedEvent() wxASSERT_MSG( m_current != wxNOT_FOUND, wxT("SendSelectedEvent() shouldn't be called") ); - wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, GetId()); + wxCommandEvent event(wxEVT_LISTBOX, GetId()); InitEvent(event, m_current); (void)GetEventHandler()->ProcessEvent(event); } @@ -720,7 +719,7 @@ void wxVListBox::OnLeftDClick(wxMouseEvent& eventMouse) // this event as a left-click instead if ( item == m_current ) { - wxCommandEvent event(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, GetId()); + wxCommandEvent event(wxEVT_LISTBOX_DCLICK, GetId()); InitEvent(event, item); (void)GetEventHandler()->ProcessEvent(event); }