X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e464c180c4af702efcfb5287aca62a8232155ab1..2adaf5969faf352d740f267b1a4ef79a2cf75980:/src/xpm/simx.c?ds=sidebyside 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);