diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-07 14:50:05 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-07 14:50:05 -0400 |
| commit | fe4d9b992d9b28c9734d06fb41fb093014c7051d (patch) | |
| tree | a528bb128633966b1d8ef2abdcbc010b2dd60251 /sysdata_windows.go | |
| parent | 7a22f0e073f11f365a71dd716307dfc342a33647 (diff) | |
Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :|
Diffstat (limited to 'sysdata_windows.go')
| -rw-r--r-- | sysdata_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go index 021b80a..8d858a1 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -545,7 +545,7 @@ func (s *sysData) setIndeterminate() { ret := make(chan uiret) defer close(ret) uitask <- &uimsg{ - call: _setWindowLong, + call: _setWindowLongPtr, p: []uintptr{ uintptr(s.hwnd), negConst(_GWL_STYLE), @@ -592,7 +592,7 @@ func (s *sysData) setProgress(percent int) { } <-ret uitask <- &uimsg{ - call: _setWindowLong, + call: _setWindowLongPtr, p: []uintptr{ uintptr(s.hwnd), negConst(_GWL_STYLE), |
