From 4161b991dc09760ea8ed92ba840099f4102dc5e2 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期三, 22 十月 2025 16:53:14 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
---
jrj/project/business/BasicCode/brand.regtype.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/BasicCode/brand.regtype.cpp b/jrj/project/business/BasicCode/brand.regtype.cpp
index d58a1c3..bdf4736 100644
--- a/jrj/project/business/BasicCode/brand.regtype.cpp
+++ b/jrj/project/business/BasicCode/brand.regtype.cpp
@@ -44,8 +44,7 @@
xdwtable getDw()
{
- xdwtable dw1 = new xdwtable;
- dw1.setNativePointer(dw_list.FindDwTable(L"item"));
+ xdwtable dw1 = dw_list.FindDwTable(L"item");
return dw1;
}
@@ -147,8 +146,7 @@
int onload()
{
- dw_list = new xdwtable;
- dw_list.setNativePointer(GetControl(L"dw_list"));
+ dw_list = GetControl(L"dw_list");
dw_list.openUrl(L"/sale/view/brand/template/regtype");
//dw_list.SetColHeaderHeight(0);
dw_list.SetRowSelectorWidth(0);
--
Gitblit v1.9.3