summaryrefslogtreecommitdiff
path: root/sysdata_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_darwin.go')
-rw-r--r--sysdata_darwin.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdata_darwin.go b/sysdata_darwin.go
index 1f9370c..b240e70 100644
--- a/sysdata_darwin.go
+++ b/sysdata_darwin.go
@@ -48,14 +48,6 @@ func controlHide(what C.id) {
C.controlHide(what)
}
-// TODO move to objc_darwin.go unless the only thing that uses it is alternate
-func toBOOL(what bool) C.BOOL {
- if what {
- return C.YES
- }
- return C.NO
-}
-
// By default some controls do not use the correct font.
// These functions set the appropriate control font.
// Which one is used on each control was determined by comparing https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AppleHIGuidelines/Characteristics/Characteristics.html#//apple_ref/doc/uid/TP40002721-SW10 to what Interface Builder says for each control.