Commit 38339b0a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

TreeView_InsertItem() instead.
parent d7b13bcd
...@@ -77,7 +77,7 @@ static void FillRoot(void) ...@@ -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) ...@@ -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('.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment