diff --git a/objects/cursoricon.c b/objects/cursoricon.c index 156573368bb42cb26134fc2ef7105632d8a7df9f..1fb4c7a9f1b7c17bcdddefbac10d86a41535258a 100644 --- a/objects/cursoricon.c +++ b/objects/cursoricon.c @@ -512,7 +512,7 @@ static HGLOBAL16 CURSORICON_CreateFromResource( HINSTANCE16 hInstance, HGLOBAL16 /* Create the XOR bitmap */ if (DoStretch) { - if ((hXorBits = CreateCompatibleBitmap(hdc, width, height))) { + if ((hXorBits = CreateBitmap(width, height, 1, 1, NULL))) { HBITMAP hOld; HDC hMem = CreateCompatibleDC(hdc); BOOL res;