Is it safe to assume that Window::setIcon always copies the pixel data, so I do not have to keep them?
Looking into a few implementations (OS X, Unix, Windows) this appears to be the case, but I cannot find a definitive statement in the documentation.