Ignore code that is preventing stock data format IDs from being used

with custom data objects.
This commit is contained in:
Robin Dunn
2014-06-24 12:43:53 -07:00
parent e19a2263bd
commit ade77e30cf

View File

@@ -458,12 +458,14 @@ bool wxDataObject::GetFromPasteboard( void * pb )
pastelocationset = true;
}
}
#if 0 // See https://groups.google.com/forum/#!topic/wx-dev/wFxevpvbhvQ/discussion
else if ( flavorFormat.GetType() != wxDF_PRIVATE )
{
// indicate the expected format for the type, benefiting from native conversions eg utf8 -> utf16
flavorType = (CFStringRef) wxDataFormat( flavorFormat.GetType()).GetFormatId();
}
#endif
err = PasteboardCopyItemFlavorData( pasteboard, itemID, flavorType , &flavorData );
if ( err == noErr )
{