X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39cfb4b2ad5dbde0d3950ca5afb5ac27de44ba1d..e64dd5d6524e2284f585c97514421e029a320393:/src/common/menucmn.cpp diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index a39ab6852e..f34a5bf0f6 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -614,7 +614,7 @@ void wxMenuBase::UpdateUI(wxEvtHandler* source) { wxWindowID itemid = item->GetId(); wxUpdateUIEvent event(itemid); - event.SetEventObject( source ); + event.SetEventObject( this ); if ( source->ProcessEvent(event) ) {