summaryrefslogtreecommitdiff
path: root/redo/tab_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 21:27:35 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 21:27:35 -0400
commit95815841aa7574f5fd91d11795ceacaa4b7fa5fa (patch)
treea9569fc11ba893880861f797d5a546c7e46534a5 /redo/tab_windows.go
parent4606f5c2ee732b42140aab159f0a62605082517e (diff)
Merged cases of C.moveWindow() on Windows containers to one place (container_windows.go) as a method on container.
Diffstat (limited to 'redo/tab_windows.go')
-rw-r--r--redo/tab_windows.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go
index 3456502..c16cdb4 100644
--- a/redo/tab_windows.go
+++ b/redo/tab_windows.go
@@ -106,9 +106,7 @@ func (t *tab) commitResize(c *allocation, d *sizing) {
// don't resize just the current tab; resize all tabs!
for _, c := range t.tabs {
// because each widget is actually a child of the Window, the origin is the one we calculated above
- // we use moveWindow() rather than calling resize() directly
- // TODO
- C.moveWindow(c.hwnd, C.int(r.left), C.int(r.top), C.int(r.right - r.left), C.int(r.bottom - r.top))
+ c.move(&r)
}
// and now resize the tab control itself
basecommitResize(t, c, d)