using new API instead of 2.8 compat, fixes #9990
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
451a00f7d7
commit
41b93cd7d7
@ -217,7 +217,7 @@ public :
|
|||||||
MenuRef submenu = pItem->GetSubMenu()->GetHMenu();
|
MenuRef submenu = pItem->GetSubMenu()->GetHMenu();
|
||||||
SetMenuItemHierarchicalMenu(m_osxMenu, index, submenu);
|
SetMenuItemHierarchicalMenu(m_osxMenu, index, submenu);
|
||||||
// carbon is using the title of the submenu, eg in the menubar
|
// carbon is using the title of the submenu, eg in the menubar
|
||||||
SetMenuTitleWithCFString(submenu, wxCFStringRef(wxStripMenuCodes(pItem->GetLabel())));
|
SetMenuTitleWithCFString(submenu, wxCFStringRef(pItem->GetItemLabelText()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user