fix(windows): correct window restoration behavior after minimization

- Replace SW_RESTORE with SW_SHOW flag
- Resolves #4109
This commit is contained in:
dingda.li 2025-03-04 14:39:06 +08:00
commit 114c15197b

View file

@ -145,7 +145,7 @@ func (fm *Form) Restore() {
SC_RESTORE,
0,
)
w32.ShowWindow(fm.hwnd, w32.SW_RESTORE)
w32.ShowWindow(fm.hwnd, w32.SW_SHOW)
}
// Public methods