Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.

2 files changed