X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..a5b31f4e11c860fa5d9949c8694a7499793c3b98:/src/motif/checkbox.cpp?ds=inline diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 6d03da153a..f4b8b88644 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -63,8 +63,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, name ) ) return false; - wxString label1(wxStripMenuCodes(label)); - wxXmString text( label1 ); + wxXmString text( GetLabelText(label) ); Widget parentWidget = (Widget) parent->GetClientWidget();