def runTest(frame, nb, log):
data = wxFontData()
+ data.EnableEffects(true)
+ font_colour = wxColour(255, 0, 0) # colour of font (red)
+ data.SetColour(font_colour) # set colour
+ print data.GetColour()
dlg = wxFontDialog(frame, data)
if dlg.ShowModal() == wxID_OK:
data = dlg.GetFontData()