]> git.saurik.com Git - wxWidgets.git/commitdiff
A temporary hDIB was not being unlocked before exiting the function where the lock...
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 13 Feb 2001 11:38:07 +0000 (11:38 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 13 Feb 2001 11:38:07 +0000 (11:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dib.cpp

index 7340494bae3a8a9badcef60bb6be5de62476e367..f2e396eb85a643a87f9f7d788a685239f34841ca 100644 (file)
@@ -619,6 +619,9 @@ static BOOL PASCAL MakeBitmapAndPalette(HDC hDC, HANDLE hDIB,
             result = TRUE;
         }
     }
+
+       GlobalUnlock (hDIB);  // glt
+
     return(result);
 }