wxMetaFile::~wxMetaFile(void)
{
if (m_metaFile)
- { DeleteMetaFile((HANDLE) m_metaFile); m_metaFile = 0; }
+ { DeleteMetaFile((HMETAFILE) m_metaFile); m_metaFile = 0; }
}
bool wxMetaFile::SetClipboard(int width, int height)
dc->BeginDrawing();
if (dc->GetHDC() && m_metaFile)
- PlayMetaFile((HDC) dc->GetHDC(), (HANDLE) m_metaFile);
+ PlayMetaFile((HDC) dc->GetHDC(), (HMETAFILE) m_metaFile);
dc->EndDrawing();