When writing several lines of text in a window, with different font families, all text is written in the same font. Bold, underline and italic work properly. See the attached program and image.
I have tested this before with the following configuration:
wxHaskell version: 0.11.0,
wxWidgets version: 2.8.9
OS: Windows XP
Compiler: GHC version 6.10.1
Current configuration (same problem):
OS: Windows XP
GHC version: 7.6.3
wxWidgets version: 2.9.5
wxHaskell version: 0.90.1.0 (currently in Github repository)
The demonstration program
I can confirm this bug also occurs on the following set-up:
OS: Linux
wxHaskell 0.90.1.0(repository version)
wxWidgets 2.9.5
I've ran the "font sample" from the wxWidgets sample directory (the C++ samples) and can confirm the font families work within this.
I've also checked that the value for the types match the enum values from wxWidgets and this appears to be the case.
It also looks like the font family enum is being replaced by a new enum however this shouldn't effect the functionality: http://docs.wxwidgets.org/stable/wx_wxfont.html