OS/2 compile error fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster 2001-01-30 15:38:29 +00:00
parent f0ded96ffb
commit 7c697725f1

View File

@ -294,7 +294,7 @@ XCreateImage(Display *d, Visual *v,
} else*/ {
#ifdef __OS2__
img->bitmap = GpiCreateBitmap(*d, &bmih, 0L, NULL, NULL);
WinReleasePS(hps);
WinReleasePS(*d);
#else
img->bitmap = CreateBitmap(width, height, 1 /* plane */ ,
depth /* bits per pixel */ , NULL);