LookAndFeel::setColour

maybe i misunderstand this, but it think this:

[code]void LookAndFeel::setColour (const int colourId, const Colour& colour) throw()
{
const int index = colourIds.indexOf (colourId);

if (index >= 0)
    colours.set (index, colour);

colourIds.add (colourId);
colours.add (colour);

}
[/code]

should be

[code]void LookAndFeel::setColour (const int colourId, const Colour& colour) throw()
{
const int index = colourIds.indexOf (colourId);

if (index >= 0)
{
    colours.set (index, colour);
}
    else
{
  colourIds.add (colourId);
  colours.add (colour);
}

[/code]

Wow. Yes, you’re right of course. That was a particularly stoopid mistake!