mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +00:00
[MSPAINT] Fix SelectionModel::InsertFromHBITMAP bug
CORE-18867, CORE-18920
This commit is contained in:
parent
f45d80adc9
commit
639739a7cd
|
@ -199,8 +199,8 @@ void SelectionModel::Landing()
|
|||
|
||||
void SelectionModel::InsertFromHBITMAP(HBITMAP hBm, INT x, INT y)
|
||||
{
|
||||
m_hbmColor = CopyDIBImage(hBm);
|
||||
::DeleteObject(m_hbmColor);
|
||||
m_hbmColor = CopyDIBImage(hBm);
|
||||
|
||||
m_rc.left = x;
|
||||
m_rc.top = y;
|
||||
|
|
Loading…
Reference in a new issue