// Author: Vadim Zeitlin
// Modified by:
// Created: 14.08.00
-// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// implementation
// ============================================================================
-IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxGenericStaticText)
-
// ----------------------------------------------------------------------------
// creation
// ----------------------------------------------------------------------------
// 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)