projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't like this, but add the treeview refresh hack.
[reactos.git]
/
reactos
/
dll
/
win32
/
comctl32
/
treeview.c
diff --git
a/reactos/dll/win32/comctl32/treeview.c
b/reactos/dll/win32/comctl32/treeview.c
index
f1ff9c5
..
8d2a6f3
100644
(file)
--- a/
reactos/dll/win32/comctl32/treeview.c
+++ b/
reactos/dll/win32/comctl32/treeview.c
@@
-2865,7
+2865,12
@@
TREEVIEW_Refresh(TREEVIEW_INFO *infoPtr, HDC hdc, const RECT *rc)
}
}
}
}
- TREEVIEW_UpdateScrollBars(infoPtr);
+ //
+ // This is correct, but is causes and infinite loop of WM_PAINT messages, resulting
+ // in continuous painting of the scroll bar in reactos. Comment out until the real
+ // bug is found
+ //
+ //TREEVIEW_UpdateScrollBars(infoPtr);
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =