Added event for windows WM_PAINT message