From 91f1a3b5e0319c5b77a8811217d8f218641b18fb Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 11 七月 2024 18:51:17 +0800
Subject: [PATCH] update item

---
 jrj/project/business/Enquiry/Entity.Product.Select.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Enquiry/Entity.Product.Select.cpp b/jrj/project/business/Enquiry/Entity.Product.Select.cpp
index 89250b3..621b8de 100644
--- a/jrj/project/business/Enquiry/Entity.Product.Select.cpp
+++ b/jrj/project/business/Enquiry/Entity.Product.Select.cpp
@@ -63,7 +63,7 @@
 			{
 				KXMLDOMElement e = nlist.item(i);
 				xstring name = e.getAttribute(L"name");
-				xcombobox::AddItem(xc.GetId(), name);
+				xcombobox::AddItem(xc.GetHWND(), name);
 			}
 			return 1;
 		}
@@ -100,7 +100,7 @@
 		KXMLDOMElement OnGetCarListRowElement(int row = 0)
 		{
 			if (row < 1) row = dwc_list.GetRow();
-			if (row < 1 || row > dwc_list.GetRowCount()) return 0;
+			if (row < 1 || row > dwc_list.GetRowCount()) return KXMLDOMElement();
 			KXMLDOMElement e = g_xdoc_shoppingcart.getRowElement(L"data/Item", row);
 			return e;
 		}

--
Gitblit v1.9.3