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:
parent
e9020f0b22
commit
90dad08e77
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user