X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc5960727c6161aaf98e512e396ae1a021326de8..b931414d91c7240ae42a67b9fc75e18d93aff721:/src/generic/vlbox.cpp diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 0a08835aa4..2830f19c7b 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -243,7 +243,7 @@ void wxVListBox::SendSelectedEvent() wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, GetId()); event.SetEventObject(this); - event.m_commandInt = m_current; + event.SetInt(m_current); (void)GetEventHandler()->ProcessEvent(event); } @@ -602,7 +602,7 @@ void wxVListBox::OnLeftDClick(wxMouseEvent& event) { wxCommandEvent event(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, GetId()); event.SetEventObject(this); - event.m_commandInt = item; + event.SetInt(item); (void)GetEventHandler()->ProcessEvent(event); }