]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
wxTinderbox build fix (!PCH support).
[wxWidgets.git] / src / msw / metafile.cpp
index 3032a5e2cda16003dfe4c345e7b0af62a30f6ba0..0092107a7c6306b666c73aed7846819a30cec94d 100644 (file)
@@ -122,8 +122,6 @@ bool wxMetafile::Play(wxDC *dc)
     if (!m_refData)
         return false;
 
-    dc->BeginDrawing();
-
     if (dc->GetHDC() && M_METAFILEDATA->m_metafile)
     {
         if ( !::PlayMetaFile(GetHdcOf(*dc), (HMETAFILE)
@@ -133,8 +131,6 @@ bool wxMetafile::Play(wxDC *dc)
         }
     }
 
-    dc->EndDrawing();
-
     return true;
 }