adding utf8 as when data is read from the pasteboard

This commit is contained in:
Stefan Csomor
2020-07-12 20:59:32 +02:00
parent 1e64278150
commit 01d7fa8116

View File

@@ -156,6 +156,9 @@ void wxDataFormat::DoAddSupportedTypes(CFMutableArrayRef cfarray, bool forSettin
// convert to our internal formats
switch (GetType())
{
case wxDF_UNICODETEXT:
CFArrayAppendValue(cfarray, kUTTypeUTF8PlainText);
break;
case wxDF_FILENAME:
CFArrayAppendValue(cfarray, kPasteboardTypeFileURLPromise);
break;