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