reactive-banana icon indicating copy to clipboard operation
reactive-banana copied to clipboard

WX: MenuItem event duplication when using "command"

Open cessationoftime opened this issue 10 years ago • 1 comments

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 := .......]

cessationoftime avatar Aug 09 '14 03:08 cessationoftime

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.

HeinrichApfelmus avatar Dec 21 '14 19:12 HeinrichApfelmus