X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6520282c2f135e3d1ffc5bd43b3ae9466ddb93..ae0e22dd7af3fa44819a08c21c9b478688e9d172:/src/osx/stattext_osx.cpp 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);