5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 14:59:25 +08:00

[windows] Fix compile error for 386 platform (#2257)

This commit is contained in:
stffabi 2022-12-30 21:33:39 +01:00 committed by GitHub
parent 908aecfd1c
commit 66bc258f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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