X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..4f13428c4f852674c8f8fc99af26d9486bf907db:/src/motif/statbox.cpp diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 744db44731..ae4838acdc 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -17,7 +17,10 @@ #endif #include "wx/statbox.h" -#include "wx/utils.h" + +#ifndef WX_PRECOMP + #include "wx/utils.h" +#endif #ifdef __VMS__ #pragma message disable nosimpint @@ -101,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 );