From 78594b1bde760699537600e0be4f046bf7f31e95 Mon Sep 17 00:00:00 2001 From: Ox Cart Date: Tue, 12 Sep 2017 13:20:31 -0500 Subject: Added separator functionality for Darwin --- systray_nonwindows.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'systray_nonwindows.go') diff --git a/systray_nonwindows.go b/systray_nonwindows.go index d3d42f3..40dc7be 100644 --- a/systray_nonwindows.go +++ b/systray_nonwindows.go @@ -60,6 +60,10 @@ func addOrUpdateMenuItem(item *MenuItem) { ) } +func addSeparator() { + C.add_separator() +} + func hideMenuItem(item *MenuItem) { C.hide_menu_item( C.int(item.id), -- cgit v1.2.3