diff --git a/src/common/ctrlsub.cpp b/src/common/ctrlsub.cpp index afba9ce85b..d9ba02cd4c 100644 --- a/src/common/ctrlsub.cpp +++ b/src/common/ctrlsub.cpp @@ -299,7 +299,6 @@ void wxControlWithItemsBase::SendSelectionChangedEvent(wxEventType eventType) wxCommandEvent event(eventType, m_windowId); event.SetInt(n); - event.SetEventObject(this); event.SetString(GetStringSelection()); InitCommandEventWithItems(event, n);