/ Published in: Haskell
This examples shows how to handle user-defined events in wxHaskell via menu events.
If the thread issues an event is not the main thread, use evtHandlerAddPendingEvent instead of evtHandlerProcessEvent.
If the thread issues an event is not the main thread, use evtHandlerAddPendingEvent instead of evtHandlerProcessEvent.