summaryrefslogtreecommitdiff
path: root/stdwndclass_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-11 11:11:00 -0400
committerPietro Gagliardi <[email protected]>2014-05-11 11:11:57 -0400
commit9ed8d9c816ead83225edf75b562c136e3ceafa45 (patch)
treef8d93b26d6995cf6a1126b57b446426702e6acb2 /stdwndclass_windows.go
parentd0ac56c0fcbf12e69cb364058ed92254cef1d575 (diff)
Consistency change: all Windows API structure field names now match case-wise (some were forcibly exported in the past for historical reasons: I originally started package ui by trying to write a Windows API wrapper, but decided to ditch that and just use the Windows API directly from package ui). Also more TODOs.
Diffstat (limited to 'stdwndclass_windows.go')
-rw-r--r--stdwndclass_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go
index edf0149..1f860a5 100644
--- a/stdwndclass_windows.go
+++ b/stdwndclass_windows.go
@@ -53,7 +53,7 @@ func stdWndProc(s *sysData) func(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam
panic("GetClientRect failed: " + err.Error())
}
// top-left corner is (0,0) so no need for winheight
- s.doResize(int(r.Left), int(r.Top), int(r.Right), int(r.Bottom), 0)
+ s.doResize(int(r.left), int(r.top), int(r.right), int(r.bottom), 0)
// TODO use the Defer movement functions here?
}
return 0