From 6746fe58b534546527644d6772fbda4fff5af73d Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 16 Nov 2003 11:07:24 +0000 Subject: [PATCH] Applied changes corresponding to patch #840617. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/stattext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.45.2