X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..bad79f58afcf3602c4ea5da5f2f0d1594f4e393d:/src/motif/stattext.cpp?ds=sidebyside diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index b0cd4e5c74..db5721cc84 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -47,7 +47,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, Widget borderWidget = (Widget) wxCreateBorderWidget( (WXWidget)parentWidget, style ); - wxXmString text( label ); + wxXmString text( wxStripMenuCodes( label ) ); WXFontType fontType = m_font.GetFontType(XtDisplay(parentWidget)); m_labelWidget = XtVaCreateManagedWidget (wxConstCast(name.c_str(), char),