Shouldn’t the SplashScreen destructor do this:
}since the most common way of creating the splash is probably:
Otherwise, you would have to keep the image allocated somewhere and delete it at program end – rather inconvenient if one is using the splash in an About box as well.
void SplashScreen::mouseDown(const MouseEvent& e)
}would be really nice to have too.