summaryrefslogtreecommitdiff
path: root/controlsize_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-30 09:57:44 -0400
committerPietro Gagliardi <[email protected]>2014-06-30 09:57:44 -0400
commit33155f7496a818a1ed83fe49cccb63be7842bc81 (patch)
treebbb14af3d92becf7d5ca5abfb28630a2b413ad93 /controlsize_windows.go
parente032807546a96e6489d18a0e42ced51b7c31a55c (diff)
Reverted everything back to the old API.
Diffstat (limited to 'controlsize_windows.go')
-rw-r--r--controlsize_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/controlsize_windows.go b/controlsize_windows.go
index 0afd209..d43599c 100644
--- a/controlsize_windows.go
+++ b/controlsize_windows.go
@@ -175,6 +175,7 @@ func releaseTextDC(hwnd _HWND, dc _HANDLE) {
}
}
+// This function runs on uitask; call the functions directly.
func (s *sysData) preferredSize(d *sysSizeData) (width int, height int) {
// the preferred size of an Area is its size
if stdDlgSizes[s.ctype].area {