/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/stattext.cpp
+// Name: src/osx/carbon/stattext.cpp
// Purpose: wxStaticText
// Author: Stefan Csomor
// Modified by:
#include "wx/settings.h"
#endif // WX_PRECOMP
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-
#include "wx/osx/private.h"
#include <stdio.h>
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);