X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..b19f2e4e191e43d9504cde5c789daf0a441662db:/src/motif/checkbox.cpp diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 948b2c673a..f4b8b88644 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -17,8 +17,12 @@ #endif #include "wx/checkbox.h" + +#ifndef WX_PRECOMP + #include "wx/utils.h" +#endif + #include "wx/tglbtn.h" -#include "wx/utils.h" #ifdef __VMS__ #pragma message disable nosimpint @@ -59,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();