From cb3379dce8ded03b7bd6a28b8c3c6bbf8247c90b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 12 九月 2024 10:38:10 +0800
Subject: [PATCH] update

---
 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