mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
.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:
parent
95fffa4e94
commit
e7b6d7b266
3 changed files with 34 additions and 15 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue