X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e609c82594a57104ff5e0d4044b2e2697a4b576..8145496b9bd1cbccf7411c5e76f72a9dfc7ebf1b:/src/motif/control.cpp diff --git a/src/motif/control.cpp b/src/motif/control.cpp index 13b8146af7..4026913541 100644 --- a/src/motif/control.cpp +++ b/src/motif/control.cpp @@ -85,7 +85,7 @@ void wxControl::SetLabel(const wxString& label) if (!widget) return; - wxXmString label_str(wxStripMenuCodes(label)); + wxXmString label_str(GetLabelText(label)); XtVaSetValues (widget, XmNlabelString, label_str(),