X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/916eabe60eee4adb05387bbf1eaf1915ae5eac18..2c31fcd7308c02bcc19e97e9b30de1fd6e332806:/src/univ/stattext.cpp diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index 3fccad2764..772a8e9b38 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -39,8 +39,6 @@ // implementation // ============================================================================ -IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxGenericStaticText) - // ---------------------------------------------------------------------------- // creation // ---------------------------------------------------------------------------- @@ -76,8 +74,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)