Always restore the bit_gravity to BGForget after using BGNorthwest to

copy bits during SetWindowPos.
This commit is contained in:
Susan Farley 2001-01-25 21:46:26 +00:00 committed by Alexandre Julliard
parent 69f4045b52
commit 8cc20f8f7e
1 changed files with 1 additions and 2 deletions

View File

@ -2846,11 +2846,10 @@ Pos: /* -----------------------------------------------------------------------
}
wndPtr->pDriver->pSetHostAttr(wndPtr, HAK_BITGRAVITY, BGNorthWest );
}
else
wndPtr->pDriver->pSetHostAttr(wndPtr, HAK_BITGRAVITY, BGForget );
}
wndPtr->pDriver->pSetWindowPos(wndPtr, &winpos, bChangePos);
wndPtr->pDriver->pSetHostAttr(wndPtr, HAK_BITGRAVITY, BGForget );
winpos.hwndInsertAfter = tempInsertAfter;
}