setting source as this, according to thread '[wx-dev] Bug in wxMenuBarBase::UpdateMenus'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1dcb50be4a
commit
2f9d199130
@ -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) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user