summaryrefslogtreecommitdiff
path: root/controlsize_windows.go
diff options
context:
space:
mode:
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 {