From 51a3c0e3797bee6276f6e8945e53a9b12e2901a4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 17 Jul 2014 18:04:51 -0400 Subject: Migrated the comctl32.dll code and added all the window subclassing stuff. Starting to consider just doing what I'm doing with the Mac OS X backend and just using cgo... --- redo/zwinconstgen.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redo/zwinconstgen.go') diff --git a/redo/zwinconstgen.go b/redo/zwinconstgen.go index c0e2171..07a113c 100644 --- a/redo/zwinconstgen.go +++ b/redo/zwinconstgen.go @@ -278,6 +278,8 @@ func main() { fmt.Fprintf(buf, "type t_LRESULT %s\n", winName(reflect.TypeOf(C.LRESULT(0)))) fmt.Fprintf(buf, "type t_UINT_PTR %s\n", winName(reflect.TypeOf(C.UINT_PTR(0)))) fmt.Fprintf(buf, "type t_DWORD_PTR %s\n", winName(reflect.TypeOf(C.DWORD_PTR(0)))) + // and one for initCommonControls() + fmt.Fprintf(buf, "type t_ULONG_PTR %s\n", winName(reflect.TypeOf(C.ULONG_PTR(0)))) // and one for GetMessageW() fmt.Fprintf(buf, "type t_BOOL %s\n", winName(reflect.TypeOf(C.BOOL(0)))) -- cgit v1.2.3