mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +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:
parent
6284ebf8b2
commit
c8492ec043
2 changed files with 13 additions and 2 deletions
|
@ -137,3 +137,16 @@ Index: tooltips.c
|
||||||
return 0;
|
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)
|
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
|
||||||
infoPtr->cdmode =
|
infoPtr->cdmode =
|
||||||
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);
|
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);
|
||||||
|
|
Loading…
Reference in a new issue