X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..5d3f234b6b56549bb7e46bfd1286b63cf09ffe65:/src/motif/statbox.cpp diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index f6d4fa2b5e..ae4838acdc 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -104,7 +104,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, if (!label.empty()) { - wxString label1(wxStripMenuCodes(label)); + wxString label1(GetLabelText(label)); wxXmString text(label1); Display* dpy = XtDisplay( parentWidget );