Use strong references to window
Window object is mandatory and cannot be null. Pointer syntax (Window*) should be replaced by reference syntax (Window&) to make the object read-only and make initialization in constructors mandatory.
Window object is mandatory and cannot be null. Pointer syntax (Window*) should be replaced by reference syntax (Window&) to make the object read-only and make initialization in constructors mandatory.