X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/455f7c8205e5dc29d99026b158ae0a394dccc839..11a23db53128bf244a089123b7fd27deb577a889:/src/motif/stattext.cpp diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index 5ddee74390..9920a4c82d 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -26,8 +25,6 @@ #include "wx/motif/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl) - bool wxStaticText::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, @@ -76,8 +73,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: