AllenDang / w32

A wrapper of windows apis for the Go Programming Language.
Other
766 stars 246 forks source link

Changed user32.go's RedrawWindow() to allow compiling #98

Closed silverbot01 closed 6 months ago

silverbot01 commented 6 months ago

Currently "flag" passed to procRedrawWindow() isn't allowed by the compiler and must be explicitly passed as a uintptr.

Unsure if an older version of Go's compiler allowed this behavior, but this change will allow Go 1.22.2 to compile projects using this package.