Deprecate wxDC::{Begin,End}Drawing()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jamie Gadd
2006-02-05 11:59:59 +00:00
parent 6037dd262f
commit 68df211fae
21 changed files with 14 additions and 103 deletions

View 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;
}