From 3e154206139f2fc8aeeab61c12c38717e55b3fc6 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期二, 10 六月 2025 11:44:09 +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