mirror of
https://github.com/reactos/reactos.git
synced 2024-05-29 16:51:47 +00:00
[COMCTL32] Guard header.c ScrollWindowEx fixed call in #ifdef
Co-authored-by: Carl J. Bialorucki <cbialo2@outlook.com>
This commit is contained in:
parent
b22949ae57
commit
ded503a9ca
|
@ -1954,7 +1954,13 @@ HEADER_MouseMove (HEADER_INFO *infoPtr, LPARAM lParam)
|
|||
GetClientRect(infoPtr->hwndSelf, &rcClient);
|
||||
rcScroll = rcClient;
|
||||
rcScroll.left = lpItem->rect.left + nOldWidth;
|
||||
#ifdef __REACTOS__
|
||||
ScrollWindowEx(infoPtr->hwndSelf, nWidth - nOldWidth, 0, &rcScroll, &rcClient,
|
||||
NULL, NULL, SW_INVALIDATE);
|
||||
#else
|
||||
ScrollWindowEx(infoPtr->hwndSelf, nWidth - nOldWidth, 0, &rcScroll, &rcClient, NULL, NULL, 0);
|
||||
InvalidateRect(infoPtr->hwndSelf, &lpItem->rect, FALSE);
|
||||
#endif
|
||||
NULL, NULL, SW_INVALIDATE);
|
||||
UpdateWindow(infoPtr->hwndSelf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue