added WM_PAINT