diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-17 18:36:44 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-17 18:36:44 -0400 |
| commit | 257fd8f07c821a9dd1f879e94c703cbbb9a2c764 (patch) | |
| tree | e7a6956f6b9f84cdc170a7a9bf597c16bfbdb26d /redo/comctl32_windows.go | |
| parent | 51a3c0e3797bee6276f6e8945e53a9b12e2901a4 (diff) | |
Added the code for the subclassing. And it smashes the stack. Wonderful...
Diffstat (limited to 'redo/comctl32_windows.go')
| -rw-r--r-- | redo/comctl32_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/comctl32_windows.go b/redo/comctl32_windows.go index 6b3d6e5..282d721 100644 --- a/redo/comctl32_windows.go +++ b/redo/comctl32_windows.go @@ -102,8 +102,8 @@ func f_RemoveWindowSubclass(hwnd uintptr, subproc uintptr, id t_UINT_PTR) (uintp return r1, err } -func f_DefSubclassProc(hwnd uintptr, uMsg t_UINT, wParam t_WPARAM, lParam t_LPARAM, id t_UINT_PTR, data t_DWORD_PTR) t_LRESULT { - r1, _, _ := fv_DefSubclassProc.Call(hwnd, uintptr(uMsg), uintptr(wParam), uintptr(lParam), uintptr(id), uintptr(data)) +func f_DefSubclassProc(hwnd uintptr, uMsg t_UINT, wParam t_WPARAM, lParam t_LPARAM) t_LRESULT { + r1, _, _ := fv_DefSubclassProc.Call(hwnd, uintptr(uMsg), uintptr(wParam), uintptr(lParam)) return t_LRESULT(r1) } |
