X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/916eabe60eee4adb05387bbf1eaf1915ae5eac18..d9dd0c95df369be61d3dfa9314e87b589e50526a:/src/univ/stattext.cpp?ds=sidebyside diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index 3fccad2764..a34cf8ad17 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 14.08.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -39,8 +38,6 @@ // implementation // ============================================================================ -IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxGenericStaticText) - // ---------------------------------------------------------------------------- // creation // ---------------------------------------------------------------------------- @@ -76,8 +73,8 @@ void wxStaticText::SetLabel(const wxString& str) // save original label m_labelOrig = str; - // draw as real label the result of GetEllipsizedLabelWithoutMarkup: - DoSetLabel(GetEllipsizedLabelWithoutMarkup()); + // draw as real label the abbreviated version of it + DoSetLabel(GetEllipsizedLabel()); } void wxStaticText::DoSetLabel(const wxString& str)