From 6b4f099df5e71af0449049ce0a19e7863915ee44 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Mar 2007 23:18:55 +0000 Subject: [PATCH] fixed typo in last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); -- 2.47.2