]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/menu_osx.cpp
no existing on iphone
[wxWidgets.git] / src / osx / menu_osx.cpp
index 4825f1834028058721d8292af36e6788e0b8dbca..9e2da308742897fef641a11b5910967e50c9224c 100644 (file)
@@ -643,7 +643,9 @@ void wxMenuBar::MacInstallMenuBar()
                 subMenu = item->GetSubMenu() ;
                 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
                 {