// Author: Vadim Zeitlin
// Modified by:
// Created: 30.08.00
-// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// implementation of wxListBox
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase)
EVT_SIZE(wxListBox::OnSize)
END_EVENT_TABLE()
{
DoSelect(item);
- SendEvent(wxEVT_COMMAND_LISTBOX_SELECTED);
+ SendEvent(wxEVT_LISTBOX);
}
void wxListBox::Activate(int item)
{
DoSelect(item);
- SendEvent(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED);
+ SendEvent(wxEVT_LISTBOX_DCLICK);
}
}