Jucer always generate g.fillAll()

Hi forum,

A simple question. Every time that Juce gnereates a component it insserts the following code in void xxxComponentxxx::paint (Graphics& g)

[code]
void xxxComponentxxx::paint (Graphics& g)
{
//[UserPrePaint] Add your own custom painting code here…
//[/UserPrePaint]

 g.fillAll (Colours::white);

//[UserPaint] Add your own custom painting code here..
//[/UserPaint]

}[/code]

How can I avoid that always insert g.fillAll (Colours::white)?

Gabriel

Just give it a transparent background colour.

Honestly, Jules, your code is amazing.

Gabriel