From 9ed8d9c816ead83225edf75b562c136e3ceafa45 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 11 May 2014 11:11:00 -0400 Subject: 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. --- stdwndclass_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdwndclass_windows.go') 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 -- cgit v1.2.3