Author: fireball
Date: Mon Jun 11 21:57:07 2007
New Revision: 27146
URL:
http://svn.reactos.org/svn/reactos?rev=27146&view=rev
Log:
- 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.
Modified:
trunk/reactos/dll/win32/comctl32/comctl32_ros.diff
trunk/reactos/dll/win32/comctl32/treeview.c
Modified: trunk/reactos/dll/win32/comctl32/comctl32_ros.diff
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/comctl3…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/comctl32_ros.diff (original)
+++ trunk/reactos/dll/win32/comctl32/comctl32_ros.diff Mon Jun 11 21:57:07 2007
@@ -137,3 +137,16 @@
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);
Modified: trunk/reactos/dll/win32/comctl32/treeview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/treevie…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/treeview.c (original)
+++ trunk/reactos/dll/win32/comctl32/treeview.c Mon Jun 11 21:57:07 2007
@@ -2839,8 +2839,6 @@
}
}
- TREEVIEW_UpdateScrollBars(infoPtr);
-
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);