mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- 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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user