X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..68ca12fef650ce4622e05ba4eb21a7aa23849107:/src/motif/stattext.cpp?ds=sidebyside diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index f233a51080..3526a2bf2d 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -51,7 +51,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, (Widget) wxCreateBorderWidget( (WXWidget)parentWidget, style ); m_labelWidget = - XtVaCreateManagedWidget (wxConstCast(name.mb_str(), char), + XtVaCreateManagedWidget (name.mb_str(), xmLabelWidgetClass, borderWidget ? borderWidget : parentWidget, wxFont::GetFontTag(), m_font.GetFontTypeC(XtDisplay(parentWidget)),