From 9b3b2eb20b09e13da837a28f16e552ba70a090c4 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 24 四月 2025 14:48:21 +0800
Subject: [PATCH] update

---
 jrj/project/business/Company/HRPerson.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Company/HRPerson.cpp b/jrj/project/business/Company/HRPerson.cpp
index 4e9eee8..1d3883f 100644
--- a/jrj/project/business/Company/HRPerson.cpp
+++ b/jrj/project/business/Company/HRPerson.cpp
@@ -126,8 +126,7 @@
 
 	int OnSearch()
 	{
-		control xc = new control;
-		xc.setNativePointer(GetControl(L"QueryTxt"));
+		xcontrol xc = GetControl(L"QueryTxt");
 		m_sTxt = xc.GetText();
 		OnRetrieve();
 		return 1;

--
Gitblit v1.9.3