[Haskell-cafe] wxMac/wxHaskell focus problem, a quick solution

Simon Peyton-Jones simonpj at microsoft.com
Thu Oct 29 11:55:14 EDT 2009

Would someone like to make a Haskell wiki page explaining all this?  Very helpful for people using wx for the first time.  Maybe there is one already?


| -----Original Message-----
| From: haskell-cafe-bounces at haskell.org [mailto:haskell-cafe-bounces at haskell.org] On
| Behalf Of Gregory Crosswhite
| Sent: 29 October 2009 15:44
| To: Iain Barnett; Haskell Cafe
| Subject: Re: [Haskell-cafe] wxMac/wxHaskell focus problem, a quick solution
| You don't have to turn a program into an application in order to make
| the GUI work, you just have to make some calls to enable GUI events to
| be delivered to your program (or something like that, at least).  I've
| attached a script that I got from somewhere on the internet (can't
| remember exactly where) that does this, so all you need to do is run
| "enableGUI" at the beginning of "main", rather than having to do
| additional packaging to make your program work.
| Cheers,
| Greg

More information about the Haskell-Cafe mailing list