From 8d1e5dbf9991b8755fd005d148e343c854236bf0 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Tue, 13 Feb 2001 11:38:07 +0000 Subject: [PATCH] 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 --- src/msw/dib.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msw/dib.cpp b/src/msw/dib.cpp index 7340494bae..f2e396eb85 100644 --- a/src/msw/dib.cpp +++ b/src/msw/dib.cpp @@ -619,6 +619,9 @@ static BOOL PASCAL MakeBitmapAndPalette(HDC hDC, HANDLE hDIB, result = TRUE; } } + + GlobalUnlock (hDIB); // glt + return(result); } -- 2.47.2