fix BeginPaint build warning