From a42d65095896cb92fa0bbe87289b53cab38fcd8e Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 27 六月 2024 18:09:25 +0800
Subject: [PATCH] update set arg

---
 jrj/xframe/wobject/xwin.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jrj/xframe/wobject/xwin.hpp b/jrj/xframe/wobject/xwin.hpp
index a1afa9b..5929193 100644
--- a/jrj/xframe/wobject/xwin.hpp
+++ b/jrj/xframe/wobject/xwin.hpp
@@ -27,7 +27,7 @@
 	}
 	void SetArg()
 	{
-		SetArg(GetWinParam());
+		if(GetWinParam()) SetArg(GetWinParam());
 	}
 public:
 	xwin(void * impl, HWND hWnd):xview(impl,hWnd){}

--
Gitblit v1.9.3