summaryrefslogtreecommitdiff
path: root/redo/zwinconstgen.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-17 18:04:51 -0400
committerPietro Gagliardi <[email protected]>2014-07-17 18:04:51 -0400
commit51a3c0e3797bee6276f6e8945e53a9b12e2901a4 (patch)
tree12e308ba564f4165107873e4c3c74074acd1ba40 /redo/zwinconstgen.go
parent19f7b2946a6198862f860b1f7c5798c0d66b8fc1 (diff)
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...
Diffstat (limited to 'redo/zwinconstgen.go')
-rw-r--r--redo/zwinconstgen.go2
1 files changed, 2 insertions, 0 deletions
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))))