// 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"
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-
bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
const wxString& label,
const wxPoint& pos,
{
m_labelOrig = label; // save original label
- // Motif does not support neither ellipsize nor markup in static text:
- DoSetLabel(GetEllipsizedLabelWithoutMarkup());
+ // Motif does not support ellipsized labels natively
+ DoSetLabel(GetEllipsizedLabel());
}
// for wxST_ELLIPSIZE_* support: