Cannot change AlertWindow text colour



Changing the colour of AlertWindow::textColourId does not reflect on the text colour in the AlertWindow.
These are the lines in LookAndFeel:drawAlertBox() which are responsible for the drawing of the text:

[code]g.setColour (alert.findColour (AlertWindow::textColourId));

textLayout.draw (g, Rectangle (textArea.getX() + iconSpaceUsed,
textArea.getWidth() - iconSpaceUsed,

Is it possible that TextLayout::draw no longer affects the colour?
If so, do we need to use an AttributedString? I tried but there’s no way to get a hold of the text string…



Thanks, I think I just forgot to make it set the colour of the TextLayout - I’ll do that.