if ( event.GetEventType() == wxEVT_COMMAND_MENU_SELECTED )
{
wxMDIChildFrame * const child = GetActiveChild();
if ( event.GetEventType() == wxEVT_COMMAND_MENU_SELECTED )
{
wxMDIChildFrame * const child = GetActiveChild();
// that has been activated
if ( hMenuParent && !hwndAct )
hMenuToSet = hMenuParent;
// that has been activated
if ( hMenuParent && !hwndAct )
hMenuToSet = hMenuParent;