From c6d20716a2ae3b743b98459a647d3474dff2dcb7 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 19 七月 2024 17:16:39 +0800
Subject: [PATCH] update ext

---
 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