From 5027a50845680c28f24fefe4d9c2b1926fd4f7fe Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 4 Jun 2014 01:17:59 -0400 Subject: Resolved a TODO in stdwndclass_windows.go about deferring WM_NCCREATE to DefWindowProc(). --- stdwndclass_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdwndclass_windows.go') diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go index 09cce8d..f4004e4 100644 --- a/stdwndclass_windows.go +++ b/stdwndclass_windows.go @@ -64,7 +64,7 @@ func storeSysData(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam _LPARAM) _LRES s := (*sysData)(unsafe.Pointer(saddr)) s.hwnd = hwnd } - // TODO is this correct for WM_NCCREATE? I think the above link does it but I'm not entirely sure... + // then regardless of what happens, defer to DefWindowProc() (if you trace the execution of the above links, this is what they do) return defWindowProc(hwnd, uMsg, wParam, lParam) } -- cgit v1.2.3