summaryrefslogtreecommitdiff
path: root/controlsize_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-30 22:48:12 -0400
committerPietro Gagliardi <[email protected]>2014-06-30 22:48:12 -0400
commitffa1bbe0b91a8c812ddcea5c5d65e55f60d07f33 (patch)
tree000fadd9af11843d92e7f0eee49fa90cca1379cd /controlsize_windows.go
parent990d50e9a153681a091a23734f8962e728fde1b0 (diff)
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
Diffstat (limited to 'controlsize_windows.go')
-rw-r--r--controlsize_windows.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/controlsize_windows.go b/controlsize_windows.go
index d43599c..0afd209 100644
--- a/controlsize_windows.go
+++ b/controlsize_windows.go
@@ -175,7 +175,6 @@ 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 {