From 68d53805cead98b6fd18a05738af034020cad123 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 18 七月 2024 14:09:16 +0800
Subject: [PATCH] update new operator

---
 jrj/project/business/BasicCode/BrandInforList.cpp |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/jrj/project/business/BasicCode/BrandInforList.cpp b/jrj/project/business/BasicCode/BrandInforList.cpp
index 48538a7..d444b26 100644
--- a/jrj/project/business/BasicCode/BrandInforList.cpp
+++ b/jrj/project/business/BasicCode/BrandInforList.cpp
@@ -8,11 +8,12 @@
 #include "viewobject/view.base.hpp"
 
 using xml = KXMLDOMDocument;
-class __declspec(dllexport) BrandInforList : public xwin
+class __declspec(dllexport) BrandInforList : public listwin
 {
-
 public:
-	BrandInforList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+	xdwgrid	dw_list;
+public:
+	BrandInforList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
 public:
 	static BrandInforList* CreateInstance(void* implPtr, void* hWnd)
 	{
@@ -21,7 +22,7 @@
 	}
 
 
-	int ViewUpdate(param pr, xstring updateItem, xaserverarg  arg)
+	int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg  arg)
 	{
 		if (updateItem == L"del") {
 			int DelRow = dw_list.GetRow();
@@ -31,7 +32,7 @@
 	}
 	int onload()
 	{
-		list::onload();
+		listwin::onload();
 		return -1;
 	}
 

--
Gitblit v1.9.3