X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..7dbb435338bce3b3747dcef615e13f80fbff5389:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 520ae86b20..e549c27953 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 30.08.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -97,8 +96,6 @@ protected: // implementation of wxListBox // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems) - BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase) EVT_SIZE(wxListBox::OnSize) END_EVENT_TABLE() @@ -1094,7 +1091,7 @@ void wxListBox::SelectAndNotify(int item) { DoSelect(item); - SendEvent(wxEVT_COMMAND_LISTBOX_SELECTED); + SendEvent(wxEVT_LISTBOX); } void wxListBox::Activate(int item) @@ -1113,7 +1110,7 @@ void wxListBox::Activate(int item) { DoSelect(item); - SendEvent(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED); + SendEvent(wxEVT_LISTBOX_DCLICK); } }