From 0fb45ba84d7a948508b30e0b140910ae906b4d9d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 3 Aug 2014 20:42:45 -0400 Subject: Did the previous commit, but for the Windows backend. --- redo/control_windows.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'redo/control_windows.go') diff --git a/redo/control_windows.go b/redo/control_windows.go index 90e41be..ac3297e 100644 --- a/redo/control_windows.go +++ b/redo/control_windows.go @@ -5,6 +5,11 @@ package ui // #include "winapi_windows.h" import "C" +type controlPrivate interface { + // TODO + Control +} + type controlbase struct { hwnd C.HWND parent C.HWND // for Tab and Group @@ -43,7 +48,7 @@ func basecommitResize(c *controlbase, a *allocation, d *sizing) { C.moveWindow(c.hwnd, C.int(a.x), C.int(a.y), C.int(a.width), C.int(a.height)) } -func basegetAuxResizeInfo(d *sizing) { +func basegetAuxResizeInfo(c controlPrivate, d *sizing) { // do nothing } -- cgit v1.2.3