Always restore the bit_gravity to BGForget after using BGNorthwest to
copy bits during SetWindowPos.
This commit is contained in:
parent
69f4045b52
commit
8cc20f8f7e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue