I have a wxHaskell code that runs on Windows and Linux but that behaves
strangely in Mac. I got into the conclusion that the dialog that return
parameters don=92t work properly. I using the showModal function
The code is something like:
genDialog theFrame =3D =20
do dialog <- dialog theFrame [ text :=3D "Dialog name"]
ok <- button p [ text :=3D "Ok" ]
set dialog [ layout :=3D =85.. ]
showModal dialog $ \stop ->
do set ok [on command :=3D stop (Just 2 ) ]
Then I use it like
res <- genDialog theFrame
In Mac it show the dialog, allow to chose the parameters but when I =
it don=92t execute the code that expects the result of the dialog.
Did anyone had the same problem? And there are any solution?=20
I already google it but I didn=92t find anything.
Of course, I=92ll appreciate any help!!!
P.S. I test it in Mac OS X 10.4
Get latest updates about Open Source Projects, Conferences and News.