From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/Public/search.dialog.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/Public/search.dialog.cpp b/jrj/project/business/Public/search.dialog.cpp
index 2bd1abc..726bcd2 100644
--- a/jrj/project/business/Public/search.dialog.cpp
+++ b/jrj/project/business/Public/search.dialog.cpp
@@ -13,7 +13,7 @@
xcontrol sle_1;
public:
- SearchDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
+ SearchDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd), sle_1(0){}
public:
static SearchDlg* CreateInstance(void* implPtr, void* hWnd)
{
@@ -54,7 +54,7 @@
if (GetWinParam())
{
xaserverarg arg = GetArg();
- arg.AddArg(L"text", GetControl(L"sl_search").GetText());
+ arg.AddArg(L"text", xcontrol(GetControl(L"sl_search")).GetText());
CloseWindow();
}
return 1;
@@ -99,7 +99,7 @@
if (GetWinParam())
{
xaserverarg arg = GetArg();
- GetControl(L"sl_search").SetText(arg.GetArgString(L"text"));
+ xcontrol(GetControl(L"sl_search")).SetText(arg.GetArgString(L"text"));
}
return 1;
--
Gitblit v1.9.3