mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Martijn Vernooij <o112w8r02@sneakemail.com>
Work around continuous repainting of treeview control. Fixes bug 493. svn path=/trunk/; revision=18657
This commit is contained in:
parent
87a380e34d
commit
f804141345
1 changed files with 1 additions and 2 deletions
|
@ -2821,8 +2821,6 @@ TREEVIEW_Refresh(TREEVIEW_INFO *infoPtr, HDC hdc, RECT *rc)
|
|||
}
|
||||
}
|
||||
|
||||
TREEVIEW_UpdateScrollBars(infoPtr);
|
||||
|
||||
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
|
||||
infoPtr->cdmode =
|
||||
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);
|
||||
|
@ -3337,6 +3335,7 @@ TREEVIEW_Expand(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
|
|||
}
|
||||
}
|
||||
}
|
||||
TREEVIEW_UpdateScrollBars(infoPtr);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue