X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d6e01c88876f9ff57056e2847eaaa91b074abb..286694ba265d1bf68290cac192bbe54259c313d9:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index c7e00cee0c..b82ca69811 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -421,7 +421,7 @@ wxClientData* wxListBox::DoGetItemClientObject(int n) const // selection // ---------------------------------------------------------------------------- -void wxListBox::SetSelection(int n, bool select) +void wxListBox::DoSetSelection(int n, bool select) { if ( select ) { @@ -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); }