From 67c0065492e33c9936f12f46f9e2ebcdfb4f98ab Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 18 四月 2025 14:01:12 +0800
Subject: [PATCH] update

---
 jrj/project/business/Product.list.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/Product.list.cpp b/jrj/project/business/Product.list.cpp
index 4dd240e..7c29d66 100644
--- a/jrj/project/business/Product.list.cpp
+++ b/jrj/project/business/Product.list.cpp
@@ -766,7 +766,7 @@
 			OpenWindow(L"dev:xpage[PackSchemaMaint.goodslib.vx]");
 		}else
 		{
-			int pr = g_xdoc_product;
+			LPARAM  pr = g_xdoc_product;
 			OpenWindow(L"dev:xpage[ProductLibraryItemMaint.vx]",pr);
 		}
 		*/
@@ -1379,7 +1379,7 @@
 				else
 					return 1;
 
-				/*	dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(no).GetXmlDoc());
+				/*	dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(no));
 					dw_list = GetControl(L"dw_list");
 					dw_list.Reset();
 					dw_list.SetReadOnly(true);
@@ -1463,7 +1463,7 @@
 		int len = nlist.length();
 		for (int i = 0; i < len; i++)
 		{
-			KXMLDOMElement& e = * new KXMLDOMElement(nlist.item(i));
+			KXMLDOMElement e = nlist.item(i);
 			xstring name = e.getAttribute(L"cname");
 			xstring sImage = e.getAttribute(L"image");
 			int image = 15;
@@ -1552,7 +1552,7 @@
 		return 1;
 	}
 
-	int OnImgDBClicked(TEvent * evt, int pr)
+	int OnImgDBClicked(TEvent * evt, LPARAM  pr)
 	{
 		IMGNNMHDR& nmtv = *(IMGNNMHDR*)evt->notify.pnmh;
 		xstring src = nmtv.path;

--
Gitblit v1.9.3