adding utf8 as when data is read from the pasteboard
This commit is contained in:
@@ -156,6 +156,9 @@ void wxDataFormat::DoAddSupportedTypes(CFMutableArrayRef cfarray, bool forSettin
|
|||||||
// convert to our internal formats
|
// convert to our internal formats
|
||||||
switch (GetType())
|
switch (GetType())
|
||||||
{
|
{
|
||||||
|
case wxDF_UNICODETEXT:
|
||||||
|
CFArrayAppendValue(cfarray, kUTTypeUTF8PlainText);
|
||||||
|
break;
|
||||||
case wxDF_FILENAME:
|
case wxDF_FILENAME:
|
||||||
CFArrayAppendValue(cfarray, kPasteboardTypeFileURLPromise);
|
CFArrayAppendValue(cfarray, kPasteboardTypeFileURLPromise);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user