WMainApp.h modified