X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c79232a5714ce0bd163e6e929fb351f4e003e8..72d750d4620a438af0c0233712622af2e28bad1d:/src/xpm/create.c?ds=sidebyside diff --git a/src/xpm/create.c b/src/xpm/create.c index cf198e1d2c..85537529f3 100644 --- a/src/xpm/create.c +++ b/src/xpm/create.c @@ -865,7 +865,7 @@ XpmCreateImageFromXpmImage(display, image, #endif { #ifdef __OS2__ - HAB hab; + HAB hab = WinQueryAnchorBlock(HWND_DESKTOP); HPS hps; SIZEL sizl = {0, 0}; #endif @@ -2578,7 +2578,7 @@ ParseAndPutPixels( { unsigned int a, x, y; #ifdef __OS2__ - HAB hab; + HAB hab = WinQueryAnchorBlock(HWND_DESKTOP); DEVOPENSTRUC dop = {NULL, "DISPLAY", NULL, NULL, NULL, NULL, NULL, NULL, NULL}; SIZEL sizl = {0, 0}; POINTL point;