Re: [wxhaskell-users] A problem and a segfault.

2011-09-14 Thread D.V.
And after seeing a post on the list about this same problem, I've found a way around : -- Bonjour List, -- -- I've got this program which segfaults. If you remove fontSize:=10 it runs, but the widgets completely ignore the size I giv e them -- -- Here's the code: module Main where import Contr

Re: [wxhaskell-users] A problem and a segfault.

2011-09-14 Thread D.V.
A workaround fort the font problem goes like this: font <- fontCreate 8 0 0 0 False "" wxFONTENCODING_SYSTEM -- SADLY, wxFONTFAMILY_TELETYPE wxFONTSTYLE_NORMAL wxFONTWEIGHT_NORMAL are not defined let zone a s = do tz <-textEntry dlg [ text:="", enabled:=False ,alignment := a, clientS

[wxhaskell-users] A problem and a segfault.

2011-09-14 Thread D.V.
Bonjour List, I've got this program which segfaults. If you remove fontSize:=8 it runs, but the widgets completely ignore the size I give them :( Help ? Here's the code: module Main where import Control.Monad import Graphics.UI.WX hiding (when) import Graphics.UI.