Window icon setting implementation.