wxMetafileDataObject* metaFileDataObject =
(wxMetafileDataObject*) data;
wxMetafile metaFile = metaFileDataObject->GetMetafile();
- PicHandle pict = metaFile->GetHMETAFILE() ;
+ PicHandle pict = metaFile.GetHMETAFILE() ;
HLock( (Handle) pict ) ;
#if !TARGET_CARBON
err = PutScrap( GetHandleSize( (Handle) pict ) , 'PICT' , *pict ) ;
/* get formats from wxDataObjects */
if ( !transferred )
{
- #if !TARGET_CARBON
- OSErr err = noErr ;
- #else
- OSStatus err = noErr ;
- #endif
for (size_t i = 0; !transferred && i < formatcount ; i++)
{
wxDataFormat format = array[i] ;