summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--combobox.go4
-rw-r--r--link_darwin.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/combobox.go b/combobox.go
index 1956301..2afa294 100644
--- a/combobox.go
+++ b/combobox.go
@@ -41,7 +41,7 @@ func NewCombobox() *Combobox {
return c
}
-
+/*TODO
// NewEditableCombobox creates a new editable Combobox.
func NewEditableCombobox() *Combobox {
c := new(Combobox)
@@ -54,7 +54,7 @@ func NewEditableCombobox() *Combobox {
return c
}
-
+*/
// Destroy destroys the Combobox.
func (c *Combobox) Destroy() {
delete(comboboxes, c.c)
diff --git a/link_darwin.go b/link_darwin.go
index 5a5f696..9e9accd 100644
--- a/link_darwin.go
+++ b/link_darwin.go
@@ -2,7 +2,7 @@
package ui
-// #cgo LDFLAGS: -L${SRCDIR} -lui -framework CoreFoundation -lpthread -Wl,-rpath,@executable_path/
+// #cgo LDFLAGS: ${SRCDIR}/libui_darwin.a -framework Foundation -framework AppKit -lpthread
// /* (thanks to http://jorgen.tjer.no/post/2014/05/20/dt-rpath-ld-and-at-rpath-dyld/ for the @executable_path clarifiaction) */
// #include <CoreFoundation/CoreFoundation.h>
// #include <pthread.h>