[3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746)

(cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408)
1 file changed