From 36899fe8ba678518674c2e5fb0cf96205ba91b4b Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 18 七月 2024 17:40:53 +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