summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-28 14:43:34 -0400
committerPietro Gagliardi <[email protected]>2014-07-28 14:43:34 -0400
commit13bcf728baf81705ddd09c72991893bffa34b8ae (patch)
tree69f3c01b3b88ea979a4e355d00bfdda25a5590c6 /redo/window_windows.go
parentbea4df1abf6f4df34016727a300e4826fc31cc05 (diff)
Made the previous commit's changes on Windows. If the Stack Overflow question tells me I'm wrong, we can deal with it then. But yay simple sizing code again :D
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index 90b3e5e..2287039 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -96,7 +96,6 @@ func storeWindowHWND(data unsafe.Pointer, hwnd C.HWND) {
//export windowResize
func windowResize(data unsafe.Pointer, r *C.RECT) {
w := (*window)(data)
- w.container.d = w.beginResize()
w.resize(int(r.right - r.left), int(r.bottom - r.top))
}