From e8fdf3647c5672d265a656f58b5c8ae4e699fc57 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 25 Sep 2009 07:29:59 +0000 Subject: [PATCH] Applied #9481: submenus for help menu git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/menu_osx.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osx/menu_osx.cpp b/src/osx/menu_osx.cpp index 4825f18340..d539e56282 100644 --- a/src/osx/menu_osx.cpp +++ b/src/osx/menu_osx.cpp @@ -644,6 +644,9 @@ void wxMenuBar::MacInstallMenuBar() if (subMenu) { // we don't support hierarchical menus in the help menu yet + UMAAppendMenuItem(mh, wxStripMenuCodes(item->GetText()) , wxFont::GetDefaultEncoding() ); + MenuItemIndex position = CountMenuItems(mh); + ::SetMenuItemHierarchicalMenu(mh, position, MAC_WXHMENU(subMenu->GetHMenu())); } else { -- 2.45.2