From 951f0d76ed2d8702963b4b1a233a5a5b4b69b502 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期一, 08 七月 2024 16:39:43 +0800 Subject: [PATCH] update --- jrj/xframe/wobject/xwin.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/xframe/wobject/xwin.hpp b/jrj/xframe/wobject/xwin.hpp index 618b738..83ebe7a 100644 --- a/jrj/xframe/wobject/xwin.hpp +++ b/jrj/xframe/wobject/xwin.hpp @@ -16,7 +16,7 @@ public:\ ty(void* impl,HWND hWnd):pty(impl,hWnd){}\ public:\ - ty * CreateInstance(void* impl,void* hWnd)\ + static ty * CreateInstance(void* impl,void* hWnd)\ {\ return new ty(impl,(HWND)hWnd);\ } @@ -67,7 +67,7 @@ return getKWin()->AttachEvent((LPTSTR)msg,*(Hxsoft::XFrame::FEvent*)&fnEvt,this); } - kcontrol* GetControl(const wchar_t* ctrlname) + kcontrol* xcontrol(const wchar_t* ctrlname) { return getKWin()->GetControl(ctrlname); } -- Gitblit v1.9.3