X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e609c82594a57104ff5e0d4044b2e2697a4b576..83e8b44cc0bf8a2a8f162c67162f9ed68accd15f:/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(),