From 54aa6f0768d1d78e54513aa1ac89a310a53db13d Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 05 七月 2024 12:05:33 +0800 Subject: [PATCH] update --- jrj/project/business/AP/list.ap.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp index 3d185f7..520605a 100644 --- a/jrj/project/business/AP/list.ap.cpp +++ b/jrj/project/business/AP/list.ap.cpp @@ -56,9 +56,9 @@ xstring GetPayType() { xcombobox cbx_type = GetControl(L"cbx_type"); - int h = xcombobox::GetCurSel(cbx_type.GetId()); - if (h < 0) return ""; - return xcombobox::GetLBText(cbx_type.GetId(), h); + int h = xcombobox::GetCurSel(cbx_type.GetHWND()); + if (h < 0) return L""; + return xcombobox::GetLBText(cbx_type.GetHWND(), h); } xstring GetEntityName(int pr) @@ -168,7 +168,7 @@ arg.AddArg(L"APID", APID); arg.AddArg(L"APType", apType); - OpenWindow(L"dev:xpage[maint.ap.vx]", pa); + OpenWindow(L"dev:xpage[maint.ap.vx]", arg); return 1; } if (comdid.find(L"action:", 0) >= 0) -- Gitblit v1.9.3