Applied #9481: submenus for help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -644,6 +644,9 @@ void wxMenuBar::MacInstallMenuBar()
|
|||||||
if (subMenu)
|
if (subMenu)
|
||||||
{
|
{
|
||||||
// we don't support hierarchical menus in the help menu yet
|
// 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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user