From c9261fbd7019264e8543507e3afaec63d55595a2 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周三, 06 12月 2023 10:58:07 +0800 Subject: [PATCH] fix stupid code --- src/core/contexts/win32windowcontext_p.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h index b99314e..269530e 100644 --- a/src/core/contexts/win32windowcontext_p.h +++ b/src/core/contexts/win32windowcontext_p.h @@ -9,7 +9,7 @@ class QWK_CORE_EXPORT Win32WindowContext : public AbstractWindowContext { Q_OBJECT public: - Win32WindowContext(QWindow *window, WindowItemDelegate *delegate); + Win32WindowContext(QObject *host, WindowItemDelegate *delegate); ~Win32WindowContext() override; enum WindowPart { @@ -33,6 +33,9 @@ bool snapLayoutHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result); + bool customWindowHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, + LRESULT *result); + protected: WId windowId = 0; -- Gitblit v1.9.1