From: Stefan H. <st...@cs...> - 2006-11-21 18:18:02
|
I have a problem with wxHaskell (checked out from darcs a week ago) running on Mac OS X 10.4.8: my GUIs refuse to display any text at all. For instance, the following program, > import Graphics.UI.WX > > main :: IO () > main = start gui > > gui :: IO () > gui = do > frame [text := "Hello"] > return () yields an empty frame with *no title* shown in the title bar. Likewise, GUIs that feature buttons, labels, etc., display empty widgets, i.e., without the texts. Is this a known issue? What can be done about it? Cheers, Stefan |
From: Eric Y. K. <eri...@gm...> - 2006-11-21 18:33:45
|
On Tue, Nov 21, 2006 at 19:17:51 +0100, Stefan Holdermans wrote: > I have a problem with wxHaskell (checked out from darcs a week ago) =20 > running on Mac OS X 10.4.8: my GUIs refuse to display any text at all. >=20 > For instance, the following program, Hmm. I can't reproduce this. What wxWidgets are you using? Is it Unicode-enabled? I've got the one from MacPorts. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Jeremy O'D. <jer...@gm...> - 2006-11-22 09:28:04
|
On 21/11/06, Eric Y. Kow <eri...@gm...> wrote: > On Tue, Nov 21, 2006 at 19:17:51 +0100, Stefan Holdermans wrote: > > I have a problem with wxHaskell (checked out from darcs a week ago) > > running on Mac OS X 10.4.8: my GUIs refuse to display any text at all. > > > > For instance, the following program, > > Hmm. I can't reproduce this. What wxWidgets are you using? Is it > Unicode-enabled? I've got the one from MacPorts. I've certainly run into something similar to this on my Mac long ago - using the wxWidgets which is pre-installed on the Mac (a variant of wxWidgets 2.5.x, I think) - you need to ensure that wxHaskell is compiled with the same Unicode (or not) configuration as your wxWidgets library. The Mac provided version does require Unicode. Regards Jeremy |