X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ead384579f416a16c8bc3e132cbbd9211238690..00e075e5517eb85c3fd4e4134f19d87b91ed4bc0:/src/common/lboxcmn.cpp diff --git a/src/common/lboxcmn.cpp b/src/common/lboxcmn.cpp index 9b114d7c1b..a9beae01cc 100644 --- a/src/common/lboxcmn.cpp +++ b/src/common/lboxcmn.cpp @@ -201,7 +201,7 @@ void wxListBoxBase::CalcAndSendEvent() void wxListBoxBase::Command(wxCommandEvent& event) { SetSelection(event.GetInt(), event.GetExtraLong() != 0); - (void)ProcessEvent(event); + (void)GetEventHandler()->ProcessEvent(event); } // ----------------------------------------------------------------------------