X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6991087b08355e652866e97d3a8211103864ed8f..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/motif/stattext.cpp diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index 3526a2bf2d..917c3bf34a 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -12,10 +12,6 @@ // 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" @@ -30,8 +26,6 @@ #include "wx/motif/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl) - bool wxStaticText::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, @@ -80,8 +74,8 @@ void wxStaticText::SetLabel(const wxString& label) { 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: