From 44fee9aa1e3087635d1394612c6f6ceab44ba7b0 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周一, 18 12月 2023 20:11:42 +0800
Subject: [PATCH] minor improve quick demo

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

diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h
index eb03cad..c8c7ed4 100644
--- a/src/core/contexts/win32windowcontext_p.h
+++ b/src/core/contexts/win32windowcontext_p.h
@@ -6,7 +6,7 @@
 
 namespace QWK {
 
-    class QWK_CORE_EXPORT Win32WindowContext : public AbstractWindowContext {
+    class Win32WindowContext : public AbstractWindowContext {
         Q_OBJECT
         Q_PROPERTY(bool needBorderPainter READ needBorderPainter FINAL)
         Q_PROPERTY(int borderThickness READ borderThickness FINAL)
@@ -30,7 +30,7 @@
         int borderThickness() const;
 
     protected:
-        bool setupHost() override;
+        void winIdChanged(QWindow *oldWindow) override;
 
     public:
         bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);
@@ -50,9 +50,6 @@
 
         bool nonClientCalcSizeHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam,
                                       LRESULT *result);
-
-        bool themeStuffHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam,
-                               LRESULT *resul);
 
     protected:
         WId windowId = 0;

--
Gitblit v1.9.1