updated pwin.cpp
updated pwin.cpp