X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d6e01c88876f9ff57056e2847eaaa91b074abb..f4bb632cde9cc60fa89f173f0d33c5881794cc68:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index c7e00cee0c..1188a594b4 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -892,7 +892,7 @@ bool wxListBox::SendEvent(wxEventType type, int item) event.SetString(GetString(item)); } - event.m_commandInt = item; + event.SetInt(item); return GetEventHandler()->ProcessEvent(event); }