wxDataFormat flavorFormat( (wxDataFormat::NativeFormat) flavorType );
if ( dataFormat == flavorFormat ||
- dataFormat.GetType() == wxDF_UNICODETEXT && flavorFormat.GetType() == wxDF_TEXT )
+ (dataFormat.GetType() == wxDF_UNICODETEXT && flavorFormat.GetType() == wxDF_TEXT) )
{
hasData = true;
}
if ( source )
{
cgImageRef = CGImageSourceCreateImageAtIndex(source, 0, NULL);
+ CFRelease( source );
}
- CFRelease( source );
CFRelease( data );
if ( cgImageRef )