]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/clipbrd.cpp
wrong directory
[wxWidgets.git] / src / mac / clipbrd.cpp
index 2f7651852aa227aeb73b69186208187d936fceca..0d59db9a44abe7bbb5ca3196a600f9f8396a1f2a 100644 (file)
@@ -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 ) ;