X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..7198c3368055d88249a338eb33b21f051f674806:/src/os2/stattext.cpp?ds=sidebyside diff --git a/src/os2/stattext.cpp b/src/os2/stattext.cpp index 292f662353..3e11757d38 100644 --- a/src/os2/stattext.cpp +++ b/src/os2/stattext.cpp @@ -233,9 +233,8 @@ void wxStaticText::SetLabel( { m_labelOrig = rsLabel; // save original label - // OS/2 does not support neither ellipsize nor markup in static text: - DoSetLabel(rsLabel); - DoSetLabel(GetEllipsizedLabelWithoutMarkup()); + // OS/2 does not support ellipsized labels in static text: + DoSetLabel(GetEllipsizedLabel()); // // Adjust the size of the window to fit to the label unless autoresizing is