Maybe I should delete those objects once printscreen is done...
This commit is contained in:
parent
b12a40496f
commit
04e3d1dafd
|
@ -3455,6 +3455,9 @@ void ScreenshotToClipboard()
|
||||||
SelectObject(hMemDC, hOldFont);
|
SelectObject(hMemDC, hOldFont);
|
||||||
ReleaseDC(NULL, hScreenDC);
|
ReleaseDC(NULL, hScreenDC);
|
||||||
DeleteDC(hMemDC);
|
DeleteDC(hMemDC);
|
||||||
|
|
||||||
|
DeleteObject(hMemBitmap);
|
||||||
|
DeleteObject(hFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue