From b70e57bcb8baa355990e2963b71c996ea565e944 Mon Sep 17 00:00:00 2001 From: Audrius Karabanovas Date: Thu, 5 Nov 2020 00:20:21 +0200 Subject: [PATCH] Publish event as selected index changes --- combobox.go | 1 + 1 file changed, 1 insertion(+) diff --git a/combobox.go b/combobox.go index 1d5d12fbc..09a8dd202 100644 --- a/combobox.go +++ b/combobox.go @@ -667,6 +667,7 @@ func (cb *ComboBox) WndProc(hwnd win.HWND, msg uint32, wParam, lParam uintptr) u case win.CBN_SELCHANGE: cb.selChangeIndex = selIndex + cb.currentIndexChangedPublisher.Publish() case win.CBN_SELENDCANCEL: if cb.selChangeIndex != -1 {