summaryrefslogtreecommitdiff
path: root/windows_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-25 12:31:38 -0400
committerPietro Gagliardi <[email protected]>2014-05-25 12:31:38 -0400
commit2ce95f3937ec7dcb8457f6b6fc4c421ad364edbd (patch)
treeb0b5cf585253be52f0b05f97139032da79f166cf /windows_windows.go
parent5583dee743f8b47e9dd04ecd24bde6950d1eca14 (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 'windows_windows.go')
-rw-r--r--windows_windows.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/windows_windows.go b/windows_windows.go
index 5012170..f40df1a 100644
--- a/windows_windows.go
+++ b/windows_windows.go
@@ -69,10 +69,8 @@ const (
)
// bizarrely, this value is given on the page for CreateMDIWindow, but not CreateWindow or CreateWindowEx
-// I do it this way because Go won't let me shove the exact value into an int
-var (
- __CW_USEDEFAULT uint = 0x80000000
- _CW_USEDEFAULT = int(__CW_USEDEFAULT)
+const (
+ _CW_USEDEFAULT = 0x80000000
)
// GetSysColor values. These can be cast to HBRUSH (after adding 1) for WNDCLASS as well.