Fix build error due to use of parentwindow rather than getparentwindow().