]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/stattext.cpp
get rid of the built-in drop target in rich text controls before setting the user...
[wxWidgets.git] / src / motif / stattext.cpp
index f233a510803ee7a9de3471474344374685a45d1f..3526a2bf2da3a9924c44b60436abdc035ba4d4e5 100644 (file)
@@ -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)),