summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-15 12:45:17 -0500
committerPietro Gagliardi <[email protected]>2014-02-15 12:45:17 -0500
commita65e5d8743822e370b0e07f6bd44ac78c98de2d0 (patch)
tree28f261cbea59806747e3dd97bd947602d4737aec /sysdata_windows.go
parent0c0bbc29fad681bc779f341380760cdd81543dc3 (diff)
Fixed build errors in the previous commits.
Diffstat (limited to 'sysdata_windows.go')
-rw-r--r--sysdata_windows.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go
index e08cbb6..da7e14b 100644
--- a/sysdata_windows.go
+++ b/sysdata_windows.go
@@ -25,7 +25,7 @@ type classData struct {
mkid bool
altStyle uint32
appendMsg uintptr
- insertBeforeString uintptr
+ insertBeforeMsg uintptr
deleteMsg uintptr
selectedIndexMsg uintptr
selectedIndexErr int
@@ -353,7 +353,7 @@ func (s *sysData) selectedIndex() (int, error) {
ret: ret,
}
r := <-ret
- if r.ret == classTypes[s.ctype].selectedIndexErr {
+ if r.ret == uintptr(classTypes[s.ctype].selectedIndexErr) {
return -1, nil
}
return int(r.ret), nil
@@ -379,12 +379,12 @@ func (s *sysData) selectedIndices() ([]int, error) {
uintptr(0),
uintptr(0),
},
- ret: ret
+ ret: ret,
}
r := <-ret
// TODO handle errors
indices := make([]int, r.ret)
- uitask <- &uimisg{
+ uitask <- &uimsg{
call: _sendMessage,
p: []uintptr{
uintptr(s.hwnd),