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:
@@ -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()));
|
||||
|
Reference in New Issue
Block a user