]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/stattext.cpp
merged libpng 1.2.34 into the trunk (see #10043)
[wxWidgets.git] / src / motif / stattext.cpp
index f233a510803ee7a9de3471474344374685a45d1f..5ddee743906ae752bb88abe5ce82c1bcdb24abea 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
 #if wxUSE_STATTEXT
 
 #include "wx/stattext.h"
@@ -51,7 +47,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)),