}
}
- return GetEventHandler()->ProcessEvent(commandEvent);
+ GetEventHandler()->ProcessEvent(commandEvent);
+ return TRUE;
#else // !wxUSE_MENUS
return FALSE;
#endif // wxUSE_MENUS/!wxUSE_MENUS
}
if (item->GetSubMenu())
- DoMenuUpdates(item->GetSubMenu(), (wxWindow*) NULL);
+ DoMenuUpdates(item->GetSubMenu(), focusWin);
}
node = node->GetNext();
}