summaryrefslogtreecommitdiff
path: root/windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-10 04:59:39 -0500
committerPietro Gagliardi <[email protected]>2014-02-10 04:59:39 -0500
commit6662e09c3064e6c24fb0bc12eca9b7ea716cb328 (patch)
tree9a282e555355d88e6f0f40b90e3f4f7687480393 /windows.go
parentef5739229eaae5f5f8c2346d1d6a789f2b79855d (diff)
Added a button to the test main window, including click handling.
Diffstat (limited to 'windows.go')
-rw-r--r--windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows.go b/windows.go
index 21e09b9..6f0f4c1 100644
--- a/windows.go
+++ b/windows.go
@@ -138,7 +138,7 @@ var (
)
// TODO use lpParam
-func CreateWindowEx(dwExStyle uint32, lpClassName string, lpWindowName string, dwStyle uint32, x int, y int, nWidth int, nHeight int, hwndParent HWND, hMenu HANDLE, hInstance HANDLE, lpParam interface{}) (hwnd HWND, err error) {
+func CreateWindowEx(dwExStyle uint32, lpClassName string, lpWindowName string, dwStyle uint32, x int, y int, nWidth int, nHeight int, hwndParent HWND, hMenu HMENU, hInstance HANDLE, lpParam interface{}) (hwnd HWND, err error) {
r1, _, err := createWindowEx.Call(
uintptr(dwExStyle),
uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(lpClassName))),