X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/365d14427cc4b28c8645bebda6a80c396b90648b..4fcb208a4fdd14091d122f9630c18335b8c2c2d3:/src/osx/carbon/menu.cpp diff --git a/src/osx/carbon/menu.cpp b/src/osx/carbon/menu.cpp index 0f51cac08a..bb6b08ea2e 100644 --- a/src/osx/carbon/menu.cpp +++ b/src/osx/carbon/menu.cpp @@ -217,7 +217,7 @@ public : MenuRef submenu = pItem->GetSubMenu()->GetHMenu(); SetMenuItemHierarchicalMenu(m_osxMenu, index, submenu); // carbon is using the title of the submenu, eg in the menubar - SetMenuTitleWithCFString(submenu, wxCFStringRef(wxStripMenuCodes(pItem->GetLabel()))); + SetMenuTitleWithCFString(submenu, wxCFStringRef(pItem->GetItemLabelText())); } else {