From 7a91c3a1ed37b0332d4ff0ebeae60bd6da3665c0 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 16 七月 2024 18:28:58 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- 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