From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 17:50:35 +0800
Subject: [PATCH] base code

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

diff --git a/jrj/project/business/Enquiry/Entity.Product.Select.cpp b/jrj/project/business/Enquiry/Entity.Product.Select.cpp
index aa09eeb..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;
 		}
@@ -1428,7 +1428,7 @@
 			hObject = 0;
 			if (arg)
 			{
-				hObject = arg.GetArgString(L"HWND").toInt();
+				hObject = (HWND)arg.GetParam(L"HWND");
 				CustomerID = arg.GetArgString(L"CustomerID");
 				CustomerID = arg.GetArgString(L"SupplierID");
 			}

--
Gitblit v1.9.3