From 61f1fc38bb7c290ccace616b7df4609a8b82a73b Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 06 九月 2024 13:52:36 +0800 Subject: [PATCH] update viewupdate --- jrj/project/business/Supplier3.list.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/project/business/Supplier3.list.cpp b/jrj/project/business/Supplier3.list.cpp index 6c3d5bb..47dda23 100644 --- a/jrj/project/business/Supplier3.list.cpp +++ b/jrj/project/business/Supplier3.list.cpp @@ -109,7 +109,7 @@ } - int ViewUpdate(int pr, xstring updateItem, xaserverarg arg) + int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) { if (updateItem == L"refresh") { @@ -130,7 +130,7 @@ //alert(L"1"); HTREEITEM h = tv_1.GetSelectedItem(); - KXMLDOMElement& e = *(KXMLDOMElement*)tv_1.GetItemData(h); + KXMLDOMElement e = tv_1.GetItemData(h); xstring t = e.selectSingleNode(L"@type").text(); m_sType = t + L""; -- Gitblit v1.9.3