A temporary hDIB was not being unlocked before exiting the function where the lock was obtained
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e7dd6ecdd1
commit
8d1e5dbf99
@ -619,6 +619,9 @@ static BOOL PASCAL MakeBitmapAndPalette(HDC hDC, HANDLE hDIB,
|
||||
result = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
GlobalUnlock (hDIB); // glt
|
||||
|
||||
return(result);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user