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:
@@ -162,6 +162,10 @@ void wxDataFormat::SetId( NativeFormat format )
|
|||||||
{
|
{
|
||||||
m_type = wxDF_UNICODETEXT;
|
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") ) )
|
else if ( UTTypeConformsTo( (CFStringRef)format, CFSTR("public.plain-text") ) )
|
||||||
{
|
{
|
||||||
m_type = wxDF_TEXT;
|
m_type = wxDF_TEXT;
|
||||||
|
Reference in New Issue
Block a user