From 188b816d6d521e12b32e51fdbd1bac86d456b06c Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 17 七月 2024 17:47:43 +0800
Subject: [PATCH] update
---
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