summaryrefslogtreecommitdiff
path: root/redo/window_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-18 15:16:41 -0400
committerPietro Gagliardi <[email protected]>2014-07-18 15:16:41 -0400
commitb56f60c04cb5128edce4894c5aaf8c04f721125b (patch)
treea275600af8540aa2a5bff450136a833945ba6efb /redo/window_darwin.go
parent6bc4425915920f0af935af02fe0eeebeae7e88b0 (diff)
Fixed control positioning on initial window show on Mac OS X.
Diffstat (limited to 'redo/window_darwin.go')
-rw-r--r--redo/window_darwin.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go
index d6eeb3c..c84c204 100644
--- a/redo/window_darwin.go
+++ b/redo/window_darwin.go
@@ -135,7 +135,6 @@ func windowClosing(xw unsafe.Pointer) C.BOOL {
//export windowResized
func windowResized(xw unsafe.Pointer, width C.uintptr_t, height C.uintptr_t) {
- // TODO this isn't called when the window first opens up
w := (*window)(unsafe.Pointer(xw))
w.doresize(int(width), int(height))
fmt.Printf("new size %d x %d\n", width, height)