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?

Simon

| -----Original Message-----
| From: haskell-cafe-boun...@haskell.org 
[mailto:haskell-cafe-boun...@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
| 

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to