fix method name in OnWindowView