diff --git a/src/mac/carbon/metafile.cpp b/src/mac/carbon/metafile.cpp index 4c5e537e39..f984ce0402 100644 --- a/src/mac/carbon/metafile.cpp +++ b/src/mac/carbon/metafile.cpp @@ -289,7 +289,7 @@ void wxMetafile::SetPICT(void* pictHandle) QDPictRelease( pictRef ); ((wxMetafileRefData*) m_refData)->Close(); #else - m_refData = new wxMetafileRefData((PicHandle)mf); + m_refData = new wxMetafileRefData((PicHandle)pictHandle); #endif }