From: Vadim Zeitlin Date: Sun, 18 Mar 2007 23:18:55 +0000 (+0000) Subject: fixed typo in last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6b4f099df5e71af0449049ce0a19e7863915ee44 fixed typo in last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 74250797a4..7f12f1cc6b 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -1523,7 +1523,7 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolBase) { // strip mnemonics from the label for compatibility // with the usual labels in wxStaticText sense - label = wxStaticText(label); + label = wxStripMenuCodes(label); HIToolbarItemSetLabel(item, wxMacCFStringHolder(label, m_font.GetEncoding()));