summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-01 23:36:13 -0400
committerPietro Gagliardi <[email protected]>2014-08-01 23:36:13 -0400
commit0356d0fd7046071c1320db7340a14df54c79cb0f (patch)
treea6a9f389090a7cb32b4b16818da8080e43ed2f43 /redo/window_windows.go
parente9b2f9f478750539ff9c76147b2d024e70fe958a (diff)
Migrated the Windows backend to use sizer.
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index 8c64858..341f226 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -17,7 +17,7 @@ type window struct {
closing *event
- *container
+ *sizer
}
const windowclassname = ""
@@ -37,7 +37,7 @@ func newWindow(title string, width int, height int, control Control) *window {
w := &window{
// hwnd set in WM_CREATE handler
closing: newEvent(),
- container: new(container),
+ sizer: new(sizer),
}
hwnd := C.newWindow(toUTF16(title), C.int(width), C.int(height), unsafe.Pointer(w))
if hwnd != w.hwnd {