git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10596
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
parent->m_currentChild = NULL;
HMENU parent_menu = (HMENU)parent->GetWinMenu();
parent->m_currentChild = NULL;
HMENU parent_menu = (HMENU)parent->GetWinMenu();
+
+ // activate the the parent menu only when there is no other child
+ // that has been activated
+ if ( parent_menu && !hwndAct )
{
parent->m_parentFrameActive = TRUE;
{
parent->m_parentFrameActive = TRUE;