OnClose()
Called for the WM_CLOSE message.
The MFC base class is always called before the Python method.