X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6520282c2f135e3d1ffc5bd43b3ae9466ddb93..b5aaf62e977b828214d65c3712478410fb2c8a05:/src/osx/stattext_osx.cpp?ds=sidebyside diff --git a/src/osx/stattext_osx.cpp b/src/osx/stattext_osx.cpp index 6968b2778a..1ff9003570 100644 --- a/src/osx/stattext_osx.cpp +++ b/src/osx/stattext_osx.cpp @@ -57,7 +57,11 @@ void wxStaticText::SetLabel(const wxString& label) m_labelOrig = label; // middle/end ellipsization is handled by the OS: - if ( HasFlag(wxST_ELLIPSIZE_END) || HasFlag(wxST_ELLIPSIZE_MIDDLE) ) + if ( HasFlag(wxST_ELLIPSIZE_END) || HasFlag(wxST_ELLIPSIZE_MIDDLE) +#if wxOSX_USE_COCOA // Cocoa has all three modes + || HasFlag(wxST_ELLIPSIZE_START) +#endif + ) { // remove markup wxString str(label);