From 429f251b140b74d7e73d78cf1114e366ecf954ea Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 19 七月 2024 13:55:58 +0800 Subject: [PATCH] update --- jrj/project/vindexmenu.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/jrj/project/vindexmenu.cpp b/jrj/project/vindexmenu.cpp index 8da9fdb..6cfe2f0 100644 --- a/jrj/project/vindexmenu.cpp +++ b/jrj/project/vindexmenu.cpp @@ -86,9 +86,8 @@ for (i=0;i<s;i++) { KXMLDOMElement xitem= li.item(i); - void * p = new KXMLDOMElement(xitem); int k = cbx_panelName.AddItem(xstring(i).c_str()); - cbx_panelName.SetItemData(k, (LPARAM)p); + cbx_panelName.SetItemData(k, xitem); } return 1; } -- Gitblit v1.9.3