From 9014d45ce8e409a446aca3de302830c8913f617c Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Wed, 11 Aug 2021 01:26:48 +0100 Subject: [PATCH] Fixes #18. --- util_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util_windows.go b/util_windows.go index 08951ef..e7789c1 100644 --- a/util_windows.go +++ b/util_windows.go @@ -66,7 +66,7 @@ var ( systemParametersInfo = user32.NewProc("SystemParametersInfoW") setWindowPos = user32.NewProc("SetWindowPos") getWindowRect = user32.NewProc("GetWindowRect") - setWindowLong = user32.NewProc("SetWindowLongPtrW") + setWindowLong = user32.NewProc("SetWindowLongW") getSystemMetrics = user32.NewProc("GetSystemMetrics") unregisterClass = user32.NewProc("UnregisterClassW") registerClassEx = user32.NewProc("RegisterClassExW")