From ff36263c5340c2eab8ce54a23b73fd3f19c46200 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 11 二月 2025 16:10:32 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/ShipcompanyList.cpp | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/BasicCode/ShipcompanyList.cpp b/jrj/project/business/BasicCode/ShipcompanyList.cpp index fc49f1e..a663127 100644 --- a/jrj/project/business/BasicCode/ShipcompanyList.cpp +++ b/jrj/project/business/BasicCode/ShipcompanyList.cpp @@ -8,13 +8,13 @@ #include "viewobject/view.base.hpp" using xml = KXMLDOMDocument; -class __declspec(dllexport) ShipcompanyList : public xwin +class __declspec(dllexport) ShipcompanyList : public listwin { public: xdwgrid dw_list; public: - ShipcompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} + ShipcompanyList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} public: static ShipcompanyList* CreateInstance(void* implPtr, void* hWnd) { @@ -23,11 +23,17 @@ } int onload() { - list::onload(); + listwin::onload(); + SetAgent(); return -1; } - int ViewUpdate(param pr, xstring updateItem, xaserverarg arg) + int onloaded() + { + return listwin::onloaded(); + } + + int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) { if (updateItem == L"del") { -- Gitblit v1.9.3