Can't get setColour() to work for TextPropertyComponent

I'm not able to change the various colours in the TextPropertyComponent. Perhaps I am doing something stupid but if have a TextPropertyComponent* TPC being displayed in a propertypanel and I call 

TPC->setColour(TextPropertyComponent::ColourIds::backgroundColourId , Colours::red) for example then nothing happens, the component displays exactly as before. The same for the other colour ids.

I am running the latest Juce on Windows XP.