fixed typo in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-18 23:18:55 +00:00
parent cdb11cb99e
commit 6b4f099df5

View File

@@ -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()));