Remove the specified window from the application.
This will cause the window to be unreferenced and destroyed unless another reference is held on it.
an Application
an Window