From 66bc258f815e0254f44ccc08740557700441c71d Mon Sep 17 00:00:00 2001 From: stffabi Date: Fri, 30 Dec 2022 21:33:39 +0100 Subject: [PATCH] [windows] Fix compile error for 386 platform (#2257) --- v2/internal/platform/win32/consts.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v2/internal/platform/win32/consts.go b/v2/internal/platform/win32/consts.go index cad2a729..03f42b1a 100644 --- a/v2/internal/platform/win32/consts.go +++ b/v2/internal/platform/win32/consts.go @@ -4,10 +4,11 @@ package win32 import ( "fmt" - "github.com/wailsapp/wails/v2/internal/system/operatingsystem" - "golang.org/x/sys/windows" "syscall" "unsafe" + + "github.com/wailsapp/wails/v2/internal/system/operatingsystem" + "golang.org/x/sys/windows" ) var ( @@ -330,7 +331,7 @@ const ( WS_EX_APPWINDOW = 0x00040000 WS_OVERLAPPEDWINDOW = 0x00000000 | 0x00C00000 | 0x00080000 | 0x00040000 | 0x00020000 | 0x00010000 WS_EX_NOREDIRECTIONBITMAP = 0x00200000 - CW_USEDEFAULT = 0x80000000 + CW_USEDEFAULT = ^0x7fffffff NIM_ADD = 0x00000000 NIM_MODIFY = 0x00000001