add external utf16 text type explicitely, as it otherwise gets treated like plain-text

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-03-12 15:57:37 +00:00
parent e9020f0b22
commit 90dad08e77

View File

@ -162,6 +162,10 @@ void wxDataFormat::SetId( NativeFormat format )
{
m_type = wxDF_UNICODETEXT;
}
else if ( UTTypeConformsTo( (CFStringRef)format, CFSTR("public.utf16-external-plain-text") ) )
{
m_type = wxDF_UNICODETEXT;
}
else if ( UTTypeConformsTo( (CFStringRef)format, CFSTR("public.plain-text") ) )
{
m_type = wxDF_TEXT;