reactive-banana
reactive-banana copied to clipboard
WX: MenuItem event duplication when using "command"
If a menuItem event is declared using " openMenuItem command", for menuItems attached to the menubar, but not submenus or popupMenus then there is duplication of the event.
eOpenMenuItem ∷ RB.Event t () ← event0 openMenuItem command
However, If a menuItem click event is declared using "frame1 $ menu openMenuItem", then there is no duplication.
eOpenMenuItem ∷ RB.Event t () ← event0 frame1 $ menu openMenuItem
oddly using "set open" "on command" works without duplication.
set open [on command := .......]
I no longer have a working installation of wxHaskell on my machine, I am afraid, so I can't even try to track it down. I'll leave this open for now, though.