Whenever I use a string in WxHaskell, it thinks the string is one character (it only displays the first character). It only happens when using the WxHaskell functions, not functions like putStrLn.
For example, the bug happens in this code
module Main where
import Graphics.UI.WX
main = start hello
hello = do f <- frame [text := "Hello"]
quit <- button f [text := "quit", on command := close f]
set f [layout := widget quit]
It doesn't happen in this program:
module Main where
main = putStrLn "hello"