]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xpm/simx.c
wxInputConsumer
[wxWidgets.git] / src / xpm / simx.c
index a804e3e4bd9cf99f5454941a1b977df5ea63e0e2..267c4195765dbb6aac8123a2791299ed697760ec 100644 (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);