// 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)