From 7c697725f1673f11ae35691b811508870b0fb7c5 Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 30 Jan 2001 15:38:29 +0000 Subject: [PATCH] OS/2 compile error fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xpm/simx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpm/simx.c b/src/xpm/simx.c index a804e3e4bd..267c419576 100644 --- a/src/xpm/simx.c +++ b/src/xpm/simx.c @@ -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); -- 2.45.2