X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..3b3dc8019a520ce5e166c8ae9098ba020f8b3f94:/src/msw/metafile.cpp diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index 3032a5e2cd..0092107a7c 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -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; }