]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/metafile.cpp
added wxLog::ClearTraceMasks()
[wxWidgets.git] / src / mac / metafile.cpp
index fc6c64b825e3a284dfa572c6b0c6d921cd4041f7..6a0a3a9eab2cd3685517be9737f27a1be7cdd03f 100644 (file)
@@ -115,23 +115,11 @@ bool wxMetaFile::Play(wxDC *dc)
        if (!dc->Ok() )
                return FALSE;
                
-       dc->MacVerifySetup() ;
-       
        {
+               wxMacPortSetter helper( dc ) ;
                PicHandle pict = GetHMETAFILE() ;
                DrawPicture( pict , &(**pict).picFrame ) ;
        }
-/*
-    if (!m_refData)
-        return FALSE;
-
-    dc->BeginDrawing();
-
-    if (dc->GetHDC() && M_METAFILEDATA->m_metafile)
-        PlayMetaFile((HDC) dc->GetHDC(), (HMETAFILE) M_METAFILEDATA->m_metafile);
-
-    dc->EndDrawing();
-*/
     return TRUE;
 }