X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ead384579f416a16c8bc3e132cbbd9211238690..ab52bac815bed0189bb0ba3b52a15e093c354533:/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); } // ----------------------------------------------------------------------------