summaryrefslogtreecommitdiff
path: root/prefsize_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-09 16:45:06 -0400
committerPietro Gagliardi <[email protected]>2014-06-09 16:45:06 -0400
commite090029678260d2ee1ed73c8dfeae9be2bec4c3a (patch)
tree4f1eccc924a93f5bc261ba5d91e0d6c993ff08c6 /prefsize_windows.go
parentbdb942440c77eed4e888d05b0e7ac384a68ab58a (diff)
Removed TODO about GetDC() vs GetWindowDC() in prefsize_windows.go; the latter includes the non-client area, which we won't bother with.
Diffstat (limited to 'prefsize_windows.go')
-rw-r--r--prefsize_windows.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/prefsize_windows.go b/prefsize_windows.go
index 17b4088..fd0bb67 100644
--- a/prefsize_windows.go
+++ b/prefsize_windows.go
@@ -103,7 +103,6 @@ func (s *sysData) preferredSize() (width int, height int) {
var tm _TEXTMETRICS
var baseX, baseY int
- // TODO use GetDC() and not GetWindowDC()?
r1, _, err := _getWindowDC.Call(uintptr(s.hwnd))
if r1 == 0 { // failure
panic(fmt.Errorf("error getting DC for preferred size calculations: %v", err))