From 48666c5e1add6272d75fccebf3218c01ec9c8c79 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 17:05:20 +0800
Subject: [PATCH] update
---
jrj/project/business/Public/search.dialog.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/jrj/project/business/Public/search.dialog.cpp b/jrj/project/business/Public/search.dialog.cpp
index 209908a..22d796e 100644
--- a/jrj/project/business/Public/search.dialog.cpp
+++ b/jrj/project/business/Public/search.dialog.cpp
@@ -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;
@@ -89,6 +89,7 @@
int onload()
{
+ SetArg();
sle_1 = GetControl(L"sl_search");
int x = GetWindowLong(GetHWND(), -16); //GWL_STYLE
x = x + 0x0008;
@@ -98,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