From 7f6a81baf9f4f4560cdde66520c2f41c9af03490 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 23 十月 2024 18:07:13 +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