diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-04 21:27:35 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-04 21:27:35 -0400 |
| commit | 95815841aa7574f5fd91d11795ceacaa4b7fa5fa (patch) | |
| tree | a9569fc11ba893880861f797d5a546c7e46534a5 /redo/window_windows.go | |
| parent | 4606f5c2ee732b42140aab159f0a62605082517e (diff) | |
Merged cases of C.moveWindow() on Windows containers to one place (container_windows.go) as a method on container.
Diffstat (limited to 'redo/window_windows.go')
| -rw-r--r-- | redo/window_windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go index 2c391c8..3a551c2 100644 --- a/redo/window_windows.go +++ b/redo/window_windows.go @@ -88,8 +88,7 @@ func storeWindowHWND(data unsafe.Pointer, hwnd C.HWND) { func windowResize(data unsafe.Pointer, r *C.RECT) { w := (*window)(data) // the origin of the window's content area is always (0, 0), but let's use the values from the RECT just to be safe - // TODO - C.moveWindow(w.container.hwnd, C.int(r.left), C.int(r.top), C.int(r.right - r.left), C.int(r.bottom - r.top)) + w.container.move(r) } //export windowClosing |
