From: Eric Y. K. <eri...@gm...> - 2007-02-18 20:58:38
|
Hi, On Mon, Feb 05, 2007 at 16:17:41 -0000, Jos=E9 Miguel Vila=E7a wrote: > In theory this seems the solution but when I tested it I find out that it > doesn=92t. The very long computation gets the attention of the processor = and > blocks the graphical interface; clicking the Stop button don=92t fire the > actions. Does calling wxcAppSafeYield in your long computation (look in the index of the API) help? I don't actually know the answer, just making some guesses. You might want to look into what Dazzle/XTC do, otherwise. And if it does help, maybe you could write something up on the Haskell wiki so that other programmers won't have to suffer! Best, --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |