From 2ce95f3937ec7dcb8457f6b6fc4c421ad364edbd Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 25 May 2014 12:31:38 -0400 Subject: Removed CW_USEDEFAULT variable definition. It won't compile right now, but our cgo-based generator will make sure that isn't a problem. --- sysdata_windows.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdata_windows.go') diff --git a/sysdata_windows.go b/sysdata_windows.go index aaa3332..7320488 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -164,10 +164,10 @@ func (s *sysData) make(window *sysData) (err error) { uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(classname))), uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(""))), // we set the window text later style, - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), - uintptr(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), + negConst(_CW_USEDEFAULT), pwin, uintptr(cid), uintptr(hInstance), -- cgit v1.2.3