]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/metafile.cpp
wxRadioBox fixed on mac
[wxWidgets.git] / src / mac / carbon / 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;
 }