From 91c0e616fa4776b37facf7b086a67cdff9da2c32 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 13 九月 2024 13:34:35 +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