From 5c04046acae6e61280fba7fef31401edd7c36087 Mon Sep 17 00:00:00 2001
From: Dylan Liu <312902918@qq.com>
Date: 周五, 23 5月 2025 16:04:20 +0800
Subject: [PATCH] QWKCore/cocoawindowcontext: Use typeId() instead of type() in Qt 6.0+. (#181)

---
 src/core/shared/qwkwindowsextra_p.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/core/shared/qwkwindowsextra_p.h b/src/core/shared/qwkwindowsextra_p.h
index 3bd086e..a173be9 100644
--- a/src/core/shared/qwkwindowsextra_p.h
+++ b/src/core/shared/qwkwindowsextra_p.h
@@ -51,6 +51,7 @@
 extern "C" {
     UINT    WINAPI GetDpiForWindow(HWND);
     int     WINAPI GetSystemMetricsForDpi(int, UINT);
+    BOOL    WINAPI AdjustWindowRectExForDpi(LPRECT, DWORD, BOOL, DWORD, UINT);
     HRESULT WINAPI GetDpiForMonitor(HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *);
     HRESULT WINAPI DwmFlush();
     HRESULT WINAPI DwmIsCompositionEnabled(BOOL*);

--
Gitblit v1.9.1