- Remove a call to TREEVIEW_Update() which causes an infinite loop on ReactOS. Now it should be possible to use treeview controls (such as regedit's left pane) without major problems.

svn path=/trunk/; revision=27146
This commit is contained in:
Aleksey Bragin 2007-06-11 17:57:07 +00:00
parent 6284ebf8b2
commit c8492ec043
2 changed files with 13 additions and 2 deletions

View file

@ -137,3 +137,16 @@ Index: tooltips.c
return 0;
}
Index: treeview.c
===================================================================
--- treeview.c (revision 27134)
+++ treeview.c (working copy)
@@ -2839,8 +2839,6 @@
}
}
- TREEVIEW_UpdateScrollBars(infoPtr);
-
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);

View file

@ -2839,8 +2839,6 @@ TREEVIEW_Refresh(TREEVIEW_INFO *infoPtr, HDC hdc, const RECT *rc)
}
}
TREEVIEW_UpdateScrollBars(infoPtr);
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);