+
+// for wxST_ELLIPSIZE_* support:
+
+void wxStaticText::DoSetLabel(const wxString& label)
+{
+ m_labelOrig = label;
+ m_label = RemoveMnemonics(label);
+
+ wxMacCFStringHolder str( m_label, m_font.GetEncoding() );
+ OSStatus err = m_peer->SetData<CFStringRef>(kControlEntireControl, kControlStaticTextCFStringTag, str);
+ verify_noerr( err );
+}
+
+wxString wxStaticText::DoGetLabel() const
+{
+ return m_label;
+}
+
+/*
+ FIXME: UpdateLabel() should be called on size events when wxST_ELLIPSIZE_START is set
+ to allow correct dynamic ellipsizing of the label
+*/
+