.CtrlCore: fixed typo and added implementation of WinMetaFile::Detach

.TDraw: minor fixes and enhancements in formula painter

git-svn-id: svn://ultimatepp.org/upp/trunk@3406 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
rylek 2011-05-05 21:41:38 +00:00
parent 95fffa4e94
commit e7b6d7b266
3 changed files with 34 additions and 15 deletions

View file

@ -81,6 +81,14 @@ void WinMetaFile::Attach(HENHMETAFILE _hemf) {
}
}
HENHMETAFILE WinMetaFile::Detach()
{
size = Size(0, 0);
HENHMETAFILE out = hemf;
hemf = NULL;
return out;
}
#pragma pack(push, 1)
struct PLACEABLE_METAFILEHEADER
{