The PSDK does not define a TreeView_InsertItemA() macro so use

TreeView_InsertItem() instead.
This commit is contained in:
Francois Gouget 2005-08-10 14:42:32 +00:00 committed by Alexandre Julliard
parent d7b13bcd86
commit 38339b0a96
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ static void FillRoot(void)
ins.hInsertAfter = TVI_ROOT; ins.hInsertAfter = TVI_ROOT;
U(ins).item.mask = TVIF_TEXT; U(ins).item.mask = TVIF_TEXT;
U(ins).item.pszText = "Root"; U(ins).item.pszText = "Root";
hRoot = TreeView_InsertItemA(hTree, &ins); hRoot = TreeView_InsertItem(hTree, &ins);
assert(hRoot); assert(hRoot);
AddItem('B'); AddItem('B');
@ -85,7 +85,7 @@ static void FillRoot(void)
ins.hInsertAfter = TVI_FIRST; ins.hInsertAfter = TVI_FIRST;
U(ins).item.mask = TVIF_TEXT; U(ins).item.mask = TVIF_TEXT;
U(ins).item.pszText = "Child"; U(ins).item.pszText = "Child";
hChild = TreeView_InsertItemA(hTree, &ins); hChild = TreeView_InsertItem(hTree, &ins);
assert(hChild); assert(hChild);
AddItem('.'); AddItem('.');