X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8c140b89f5e01564b79c0a779b0b4aba2542351..2ad99bc1398db5a619b3682e90ad7a99485ae4c9:/src/mac/stattext.cpp?ds=sidebyside diff --git a/src/mac/stattext.cpp b/src/mac/stattext.cpp index ac2dc2e4d0..bc89591282 100644 --- a/src/mac/stattext.cpp +++ b/src/mac/stattext.cpp @@ -51,7 +51,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, m_windowId = id; m_windowStyle = style; - m_label = label ; + m_label = wxStripMenuCodes(label) ; bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name ); SetBestSize( size ) ;