mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix: cast flags to uint for SetWindowPos
SetWindowPos expects uFlags as uint, but the flags variable was inferred as int from the bitwise OR operations on untyped constants. This fixes the Windows build error. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
07211b4615
commit
8380740382
1 changed files with 1 additions and 1 deletions
|
|
@ -1597,7 +1597,7 @@ func (w *windowsWebviewWindow) WndProc(msg uint32, wparam, lparam uintptr) uintp
|
|||
int(newWindowRect.Top),
|
||||
int(newWindowRect.Right-newWindowRect.Left),
|
||||
int(newWindowRect.Bottom-newWindowRect.Top),
|
||||
flags)
|
||||
uint(flags))
|
||||
// For frameless windows with decorations, re-extend the frame into client area
|
||||
// to ensure proper window frame styling after DPI change.
|
||||
if w.framelessWithDecorations() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue