X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c8a980fc412792e64256724e02e9d387ee38e21..ecef04c293db3e3ebcdb12062fdc40b9b35c8c3e:/src/common/lboxcmn.cpp?ds=sidebyside diff --git a/src/common/lboxcmn.cpp b/src/common/lboxcmn.cpp index 78cf5a377b..642b324e9b 100644 --- a/src/common/lboxcmn.cpp +++ b/src/common/lboxcmn.cpp @@ -84,7 +84,7 @@ bool wxListBoxBase::SetStringSelection(const wxString& s, bool select) void wxListBoxBase::Command(wxCommandEvent& event) { - SetSelection(event.m_commandInt, event.m_extraLong); + SetSelection(event.m_commandInt, event.m_extraLong != 0); (void)ProcessEvent(event); }