OK, this is an even simpler example.
All this does is use a Timer to call a repaint() on the main component every 10ms.
The memory use goes steadily up and up!
RepaintTest.zip (11.1 KB)
MainComponent::MainComponent()
{
setSize (600, 400);
startTimer(10);
}
void MainComponent::timerCallback()
{
repaint();
}
