X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/os2/stattext.cpp 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