summaryrefslogtreecommitdiff
path: root/stdwndclass_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-04 01:17:59 -0400
committerPietro Gagliardi <[email protected]>2014-06-04 01:17:59 -0400
commit5027a50845680c28f24fefe4d9c2b1926fd4f7fe (patch)
tree23ffb0e5cb26547ce36b0ebcd2253ac4072da750 /stdwndclass_windows.go
parentbc34836227187550b7da8ee0c8a1a91bba8f0466 (diff)
Resolved a TODO in stdwndclass_windows.go about deferring WM_NCCREATE to DefWindowProc().
Diffstat (limited to 'stdwndclass_windows.go')
-rw-r--r--stdwndclass_windows.go2
1 files changed, 1 insertions, 1 deletions
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)
}