diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-25 12:31:38 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-25 12:31:38 -0400 |
| commit | 2ce95f3937ec7dcb8457f6b6fc4c421ad364edbd (patch) | |
| tree | b0b5cf585253be52f0b05f97139032da79f166cf /uitask_windows.go | |
| parent | 5583dee743f8b47e9dd04ecd24bde6950d1eca14 (diff) | |
Removed CW_USEDEFAULT variable definition. It won't compile right now, but our cgo-based generator will make sure that isn't a problem.
Diffstat (limited to 'uitask_windows.go')
| -rw-r--r-- | uitask_windows.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uitask_windows.go b/uitask_windows.go index 621c1fc..fed035b 100644 --- a/uitask_windows.go +++ b/uitask_windows.go @@ -158,10 +158,10 @@ func makeMessageHandler() (hwnd _HWND, err error) { uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(msghandlerclass))), uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr("ui package message window"))), uintptr(0), - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), negConst(_HWND_MESSAGE), uintptr(_NULL), uintptr(hInstance), |
