From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/SystemSettings/AddUserGroup.cpp | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/jrj/project/business/SystemSettings/AddUserGroup.cpp b/jrj/project/business/SystemSettings/AddUserGroup.cpp
index 6b8c2cf..9f6fb82 100644
--- a/jrj/project/business/SystemSettings/AddUserGroup.cpp
+++ b/jrj/project/business/SystemSettings/AddUserGroup.cpp
@@ -17,10 +17,10 @@
int wid;
xtreeview tv;
xdwgrid dw;
- xwin pwin;
+ xwin* pwin;
public:
- AddUserGroup(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+ AddUserGroup(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd),pwin(nullptr) {}
public:
static AddUserGroup* CreateInstance(void* implPtr, void* hWnd)
{
@@ -40,17 +40,17 @@
return 1;
}
int AppendItem(xml x, KXMLDOMElement r, xstring item) {
- var e = x.createElement(item);
+ auto e = x.createElement(item);
xcontrol xc = GetControl(item);
- e.text() = xc.GetText();
+ e.settext(xc.GetText());
r.appendChild(e);
return 1;
}
int AppendAttrib(xml x, KXMLDOMElement r, xstring item) {
- var e = x.createElement(item);
+ auto e = x.createElement(item);
//xcontrol xc = GetControl(item);
xcontrol xc= GetControl(item);
- e.text() = xc.GetText();
+ e.settext(xc.GetText());
r.setAttribute(item, xc.GetText());
return 1;
}
@@ -67,7 +67,7 @@
xaserverarg arg;
x.loadXML(L"<row/>");
- var r = x.documentElement();
+ auto r = x.documentElement();
xstring gpguid;
if (p.note == L"修改")
{
--
Gitblit v1.9.3