From 91af9c894c8c23f42da32fc96cf2d8b5db401df6 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周六, 02 12月 2023 14:07:00 +0800
Subject: [PATCH] Win32Context: Optimize

---
 src/core/contexts/win32windowcontext_p.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h
index f1ab71e..85ecf59 100644
--- a/src/core/contexts/win32windowcontext_p.h
+++ b/src/core/contexts/win32windowcontext_p.h
@@ -15,11 +15,10 @@
     public:
         bool setup() override;
 
+        bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);
+
     protected:
         WId windowId;
-        WNDPROC qtWindowProc; // Original Qt window proc function
-
-        static LRESULT windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
     };
 
 }

--
Gitblit v1.9.1