diff --git a/src/generic/odcombo.cpp b/src/generic/odcombo.cpp index 1891540a1a..fd3061e414 100644 --- a/src/generic/odcombo.cpp +++ b/src/generic/odcombo.cpp @@ -233,6 +233,11 @@ void wxVListBoxComboPopup::DismissWithEvent() void wxVListBoxComboPopup::SendComboBoxEvent( int selection ) { + // TODO: wxVListBox should be refactored to inherit from wxItemContainer + // and then we would be able to just call SendSelectionChangedEvent() + // (which, itself, should be moved down to wxItemContainer from + // wxControlWithItemsBase) instead of duplicating its code. + wxCommandEvent evt(wxEVT_COMBOBOX,m_combo->GetId()); evt.SetEventObject(m_combo);