Return 0 for Window if there is no widget
This should be safe: I've checked all calls to window() in the ui automation module, and they all check whether 0 is returned before dereferencing the pointer.
This should be safe: I've checked all calls to window() in the ui automation module, and they all check whether 0 is returned before dereferencing the pointer.