X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b0dfbca1d817c033b10be2713dbb9d1b7ae0863..07fb285c521527e383f2d1090f7f41f561bcd8fd:/src/generic/editlbox.cpp diff --git a/src/generic/editlbox.cpp b/src/generic/editlbox.cpp index 7818c33a5a..6502d4bfa8 100644 --- a/src/generic/editlbox.cpp +++ b/src/generic/editlbox.cpp @@ -2,7 +2,6 @@ // Name: src/generic/editlbox.cpp // Purpose: ListBox with editable items // Author: Vaclav Slavik -// RCS-ID: $Id$ // Copyright: (c) Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -350,9 +349,9 @@ void wxEditableListBox::OnEndLabelEdit(wxListEvent& event) // possible: m_listCtrl->InsertItem(m_listCtrl->GetItemCount(), wxEmptyString); - // Simulate a wxEVT_COMMAND_LIST_ITEM_SELECTED event for the new item, + // Simulate a wxEVT_LIST_ITEM_SELECTED event for the new item, // so that the buttons are enabled/disabled properly - wxListEvent selectionEvent(wxEVT_COMMAND_LIST_ITEM_SELECTED, m_listCtrl->GetId()); + wxListEvent selectionEvent(wxEVT_LIST_ITEM_SELECTED, m_listCtrl->GetId()); selectionEvent.m_itemIndex = event.GetIndex(); m_listCtrl->GetEventHandler()->ProcessEvent(selectionEvent); }