X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/339e9747d26ed4cef83de1e50b5313c2aed8d443..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/univ/stattext.cpp diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index e4449268a9..772a8e9b38 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -74,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)