From a7042deea556e6ac56f4849de2ec448b5aa0592f Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 24 七月 2024 10:07:49 +0800 Subject: [PATCH] update operator itemstring --- jrj/project/business/Company/HrOrgMaint.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/project/business/Company/HrOrgMaint.cpp b/jrj/project/business/Company/HrOrgMaint.cpp index f228299..be0677a 100644 --- a/jrj/project/business/Company/HrOrgMaint.cpp +++ b/jrj/project/business/Company/HrOrgMaint.cpp @@ -202,8 +202,8 @@ xstring sPersonID = arg.GetArgString(L"sPersonID"); //trace(sPersonID); xstring sPersonName = arg.GetArgString(L"sPersonName"); - dw_detail.SetItemDisplayString(1, colname, sPersonName); - dw_detail.SetItemString(1, colname, sPersonID); + dw_detail.SetItemDisplayString(1, colname.c_str(), sPersonName); + dw_detail.SetItemString(1, colname.c_str(), sPersonID); dw_detail.Redraw(); } } -- Gitblit v1.9.3