X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8c736e563cbf50bc5825c1a52878403ee48f513..a7061e3dc03a356d5286a58bdadae138bf45a96a:/src/mac/clipbrd.cpp diff --git a/src/mac/clipbrd.cpp b/src/mac/clipbrd.cpp index 2f7651852a..0d59db9a44 100644 --- a/src/mac/clipbrd.cpp +++ b/src/mac/clipbrd.cpp @@ -254,7 +254,7 @@ bool wxClipboard::AddData( wxDataObject *data ) 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 ) ;