]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied changes corresponding to patch #840617.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 16 Nov 2003 11:07:24 +0000 (11:07 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 16 Nov 2003 11:07:24 +0000 (11:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/stattext.cpp

index b0cd4e5c74912d513c40336b35f8698c1f3a1e0d..db5721cc84cb7cda1cfe0679ab5eca2534fbf77a 100644 (file)
@@ -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),