X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1673e527f08395de6864b09540162ca409a3c28..b0bcc78732fb2ecef1fbfcf6c6ca5afbac4a29b6:/src/mac/carbon/srchctrl.cpp diff --git a/src/mac/carbon/srchctrl.cpp b/src/mac/carbon/srchctrl.cpp index 24da3d7f70..4a78629391 100644 --- a/src/mac/carbon/srchctrl.cpp +++ b/src/mac/carbon/srchctrl.cpp @@ -159,7 +159,7 @@ void wxMacSearchFieldControl::SetDescriptiveText(const wxString& text) { verify_noerr( HISearchFieldSetDescriptiveText( m_controlRef, - wxMacCFStringHolder( text, wxFont::GetDefaultEncoding() ))); + wxCFStringRef( text, wxFont::GetDefaultEncoding() ))); } wxString wxMacSearchFieldControl::GetDescriptiveText() const @@ -168,7 +168,7 @@ wxString wxMacSearchFieldControl::GetDescriptiveText() const verify_noerr( HISearchFieldCopyDescriptiveText( m_controlRef, &cfStr )); if ( cfStr ) { - return wxMacCFStringHolder(cfStr).AsString(); + return wxCFStringRef(cfStr).AsString(); } else {