treeview.c
Peter Birch
plbirch at earthlink.net
Thu Aug 7 16:12:12 CDT 2003
I had to make the following change to get treeview.c to compile from the
latest cvs (08/07/2003 14:10)
Debian Linux 2.4.20/gcc 2.95.4
--- programs/regedit/treeview.c 7 Aug 2003 03:10:13 -0000 1.1
+++ programs/regedit/treeview.c 7 Aug 2003 21:08:26 -0000
@@ -90,7 +90,7 @@ static HTREEITEM AddEntryToTree(HWND hwn
tvi.iSelectedImage = Image_Open;
tvi.cChildren = dwChildren;
tvi.lParam = (LPARAM)hKey;
- tvins.item = tvi;
+ tvins.u.item = tvi;
if (hKey) tvins.hInsertAfter = (HTREEITEM)TVI_LAST;
else tvins.hInsertAfter = (HTREEITEM)TVI_SORT;
tvins.hParent = hParent;
@@ -115,7 +115,7 @@ static BOOL InitTreeViewItems(HWND hwndT
tvi.cChildren = 5;
/* Save the heading level in the item's application-defined data
area. */
tvi.lParam = (LPARAM)NULL;
- tvins.item = tvi;
+ tvins.u.item = tvi;
tvins.hInsertAfter = (HTREEITEM)TVI_FIRST;
tvins.hParent = TVI_ROOT;
/* Add the item to the tree view control. */
More information about the wine-devel
mailing list