Update WinApplication.cpp